|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.net.URLConnection | +--java.net.HttpURLConnection | +--com.sun.net.ssl.HttpsURLConnection
HTTP URL connection with support for HTTPS-specific features. See the spec for details.
Field Summary | |
protected HostnameVerifier |
hostnameVerifier
|
protected SSLSocketFactory |
sslSocketFactory
|
Fields inherited from class java.net.HttpURLConnection |
HTTP_ACCEPTED,
HTTP_BAD_GATEWAY,
HTTP_BAD_METHOD,
HTTP_BAD_REQUEST,
HTTP_CLIENT_TIMEOUT,
HTTP_CONFLICT,
HTTP_CREATED,
HTTP_ENTITY_TOO_LARGE,
HTTP_FORBIDDEN,
HTTP_GATEWAY_TIMEOUT,
HTTP_GONE,
HTTP_INTERNAL_ERROR,
HTTP_LENGTH_REQUIRED,
HTTP_MOVED_PERM,
HTTP_MOVED_TEMP,
HTTP_MULT_CHOICE,
HTTP_NO_CONTENT,
HTTP_NOT_ACCEPTABLE,
HTTP_NOT_AUTHORITATIVE,
HTTP_NOT_FOUND,
HTTP_NOT_MODIFIED,
HTTP_OK,
HTTP_PARTIAL,
HTTP_PAYMENT_REQUIRED,
HTTP_PRECON_FAILED,
HTTP_PROXY_AUTH,
HTTP_REQ_TOO_LONG,
HTTP_RESET,
HTTP_SEE_OTHER,
HTTP_SERVER_ERROR,
HTTP_UNAUTHORIZED,
HTTP_UNAVAILABLE,
HTTP_UNSUPPORTED_TYPE,
HTTP_USE_PROXY,
HTTP_VERSION,
method,
responseCode,
responseMessage |
Fields inherited from class java.net.URLConnection |
allowUserInteraction,
connected,
doInput,
doOutput,
ifModifiedSince,
url,
useCaches |
Constructor Summary | |
HttpsURLConnection(java.net.URL url)
|
Method Summary | |
abstract java.lang.String |
getCipherSuite()
Returns the cipher suite in use on this connection. |
static HostnameVerifier |
getDefaultHostnameVerifier()
Gets the default HostnameVerifier. |
static SSLSocketFactory |
getDefaultSSLSocketFactory()
Gets the default SSL socket factory. |
HostnameVerifier |
getHostnameVerifier()
Gets the HostnameVerifier. |
abstract X509Certificate[] |
getServerCertificateChain()
Returns the server's X.509 certificate chain, or null if the server did not authenticate. |
SSLSocketFactory |
getSSLSocketFactory()
Gets the SSL socket factory. |
static void |
setDefaultHostnameVerifier(HostnameVerifier v)
Sets the default HostnameVerifier inherited when an instance of this class is created. |
static void |
setDefaultSSLSocketFactory(SSLSocketFactory sf)
Sets the default SSL socket factory inherited when an instance of this class is created. |
void |
setHostnameVerifier(HostnameVerifier v)
Sets the HostnameVerifier. |
void |
setSSLSocketFactory(SSLSocketFactory v)
Sets the SSL socket factory. |
Methods inherited from class java.net.HttpURLConnection |
disconnect,
getErrorStream,
getFollowRedirects,
getPermission,
getRequestMethod,
getResponseCode,
getResponseMessage,
setFollowRedirects,
setRequestMethod,
usingProxy |
Methods inherited from class java.net.URLConnection |
connect,
getAllowUserInteraction,
getContent,
getContentEncoding,
getContentLength,
getContentType,
getDate,
getDefaultAllowUserInteraction,
getDefaultRequestProperty,
getDefaultUseCaches,
getDoInput,
getDoOutput,
getExpiration,
getFileNameMap,
getHeaderField,
getHeaderField,
getHeaderFieldDate,
getHeaderFieldInt,
getHeaderFieldKey,
getIfModifiedSince,
getInputStream,
getLastModified,
getOutputStream,
getRequestProperty,
getURL,
getUseCaches,
guessContentTypeFromName,
guessContentTypeFromStream,
setAllowUserInteraction,
setContentHandlerFactory,
setDefaultAllowUserInteraction,
setDefaultRequestProperty,
setDefaultUseCaches,
setDoInput,
setDoOutput,
setFileNameMap,
setIfModifiedSince,
setRequestProperty,
setUseCaches,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected HostnameVerifier hostnameVerifier
protected SSLSocketFactory sslSocketFactory
Constructor Detail |
public HttpsURLConnection(java.net.URL url) throws java.io.IOException
Method Detail |
public abstract java.lang.String getCipherSuite()
public abstract X509Certificate[] getServerCertificateChain()
public static void setDefaultHostnameVerifier(HostnameVerifier v)
public static HostnameVerifier getDefaultHostnameVerifier()
public void setHostnameVerifier(HostnameVerifier v)
public HostnameVerifier getHostnameVerifier()
public static void setDefaultSSLSocketFactory(SSLSocketFactory sf)
public static SSLSocketFactory getDefaultSSLSocketFactory()
public void setSSLSocketFactory(SSLSocketFactory v)
public SSLSocketFactory getSSLSocketFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |