public class HttpsConnection extends CurlHttpConnection
Constructor and Description |
---|
HttpsConnection(java.net.URL url,
java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
connect(CurlResource curl)
Connects to the server.
|
protected void |
init(CurlResource curl) |
authenticate, authenticateImpl, close, createConnection, createConnection, disconnect, getConnection, getContentLength, getErrorStream, getHeaderField, getHeaderField, getHeaderFieldKey, getHttpConnection, getInputStream, getOutputStream, getProxy, getRequestProperty, getResponseCode, getResponseMessage, getURL, setConnection, setConnectTimeout, setDoOutput, setInstanceFollowRedirects, setReadTimeout, setRequestMethod, setRequestProperty
public HttpsConnection(java.net.URL url, java.lang.String username, java.lang.String password) throws java.io.IOException
java.io.IOException
protected void init(CurlResource curl) throws java.io.IOException
init
in class CurlHttpConnection
java.io.IOException
public void connect(CurlResource curl) throws java.net.ConnectException, java.net.ProtocolException, java.net.SocketTimeoutException, java.io.IOException
connect
in class CurlHttpConnection
java.net.ConnectException
java.net.ProtocolException
java.net.SocketTimeoutException
java.io.IOException