Package sun.net.www.protocol.https
Class DelegateHttpsURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- java.net.HttpURLConnection
-
- sun.net.www.protocol.http.HttpURLConnection
-
- sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
-
- sun.net.www.protocol.https.DelegateHttpsURLConnection
-
public class DelegateHttpsURLConnection extends AbstractDelegateHttpsURLConnection
This class was introduced to provide an additional level of abstraction between javax.net.ssl.HttpURLConnection and com.sun.net.ssl.HttpURLConnection objects.javax.net.ssl.HttpURLConnection is used in the new sun.net version of protocol implementation (this one) com.sun.net.ssl.HttpURLConnection is used in the com.sun version.
-
-
Field Summary
Fields Modifier and Type Field Description HttpsURLConnectionhttpsURLConnection-
Fields inherited from class sun.net.www.protocol.http.HttpURLConnection
handler, http, ps, userAgent
-
Fields inherited from class java.net.HttpURLConnection
chunkLength, fixedContentLength, fixedContentLengthLong, 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_IMPLEMENTED, 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_UNAUTHORIZED, HTTP_UNAVAILABLE, HTTP_UNSUPPORTED_TYPE, HTTP_USE_PROXY, HTTP_VERSION, instanceFollowRedirects, method, responseCode, responseMessage
-
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, url, useCaches
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SSLSocketFactorygetSSLSocketFactory()-
Methods inherited from class sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
connect, getNewHttpClient, isConnected, setConnected, setNewClient
-
Methods inherited from class sun.net.www.protocol.http.HttpURLConnection
addRequestProperty, disconnect, getConnectTimeout, getErrorStream, getHeaderField, getHeaderField, getHeaderFieldKey, getHeaderFields, getInputStream, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, openConnectionCheckRedirects, plainConnect, setAuthenticationProperty, setConnectTimeout, setReadTimeout, setRequestProperty, streaming, usingProxy
-
Methods inherited from class java.net.HttpURLConnection
getFollowRedirects, getInstanceFollowRedirects, getPermission, getRequestMethod, getResponseCode, getResponseMessage, setChunkedStreamingMode, setFixedLengthStreamingMode, setFixedLengthStreamingMode, setFollowRedirects, setInstanceFollowRedirects, setRequestMethod
-
Methods inherited from class java.net.URLConnection
getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDefaultAllowUserInteraction, getDefaultUseCaches, getDoInput, getDoOutput, getHeaderFieldInt, getHeaderFieldLong, getURL, getUseCaches, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultUseCaches, setDoInput, setDoOutput, setUseCaches, toString
-
-
-
-
Field Detail
-
httpsURLConnection
public HttpsURLConnection httpsURLConnection
-
-
Method Detail
-
getSSLSocketFactory
protected SSLSocketFactory getSSLSocketFactory()
- Specified by:
getSSLSocketFactoryin classAbstractDelegateHttpsURLConnection
-
-