com.ejie.r01f.net.jsse.handler
Class HttpsURLConnectionImpl
java.lang.Object
java.net.URLConnection
java.net.HttpURLConnection
javax.net.ssl.HttpsURLConnection
com.ejie.r01f.net.jsse.handler.HttpsURLConnectionImpl
- public class HttpsURLConnectionImpl
- extends javax.net.ssl.HttpsURLConnection
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_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_SERVER_ERROR, HTTP_UNAUTHORIZED, HTTP_UNAVAILABLE, HTTP_UNSUPPORTED_TYPE, HTTP_USE_PROXY, HTTP_VERSION |
Methods inherited from class javax.net.ssl.HttpsURLConnection |
getDefaultHostnameVerifier, getDefaultSSLSocketFactory, getHostnameVerifier, getSSLSocketFactory, setDefaultHostnameVerifier, setDefaultSSLSocketFactory, setHostnameVerifier, setSSLSocketFactory |
Methods inherited from class java.net.HttpURLConnection |
getFollowRedirects, setFollowRedirects |
Methods inherited from class java.net.URLConnection |
getDefaultAllowUserInteraction, getDefaultRequestProperty, getFileNameMap, guessContentTypeFromName, guessContentTypeFromStream, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setFileNameMap |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
getContentLength
public int getContentLength()
getResponseCode
public int getResponseCode()
throws java.io.IOException
- Throws:
java.io.IOException
hashCode
public int hashCode()
getDate
public long getDate()
getExpiration
public long getExpiration()
getIfModifiedSince
public long getIfModifiedSince()
getLastModified
public long getLastModified()
connect
public void connect()
throws java.io.IOException
- Throws:
java.io.IOException
disconnect
public void disconnect()
getAllowUserInteraction
public boolean getAllowUserInteraction()
getDefaultUseCaches
public boolean getDefaultUseCaches()
getDoInput
public boolean getDoInput()
getDoOutput
public boolean getDoOutput()
getInstanceFollowRedirects
public boolean getInstanceFollowRedirects()
getUseCaches
public boolean getUseCaches()
usingProxy
public boolean usingProxy()
setIfModifiedSince
public void setIfModifiedSince(long l)
setAllowUserInteraction
public void setAllowUserInteraction(boolean flag)
setDefaultUseCaches
public void setDefaultUseCaches(boolean flag)
setDoInput
public void setDoInput(boolean flag)
setDoOutput
public void setDoOutput(boolean flag)
setInstanceFollowRedirects
public void setInstanceFollowRedirects(boolean flag)
setUseCaches
public void setUseCaches(boolean flag)
getErrorStream
public java.io.InputStream getErrorStream()
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getContent
public java.lang.Object getContent()
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
getCipherSuite
public java.lang.String getCipherSuite()
getContentEncoding
public java.lang.String getContentEncoding()
getContentType
public java.lang.String getContentType()
getRequestMethod
public java.lang.String getRequestMethod()
getResponseMessage
public java.lang.String getResponseMessage()
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
getHeaderField
public java.lang.String getHeaderField(int i)
getHeaderFieldKey
public java.lang.String getHeaderFieldKey(int i)
setRequestMethod
public void setRequestMethod(java.lang.String s)
throws java.net.ProtocolException
- Throws:
java.net.ProtocolException
getHeaderFieldInt
public int getHeaderFieldInt(java.lang.String s,
int i)
getHeaderFieldDate
public long getHeaderFieldDate(java.lang.String s,
long l)
getURL
public java.net.URL getURL()
getPermission
public java.security.Permission getPermission()
throws java.io.IOException
- Throws:
java.io.IOException
getLocalCertificates
public java.security.cert.Certificate[] getLocalCertificates()
getServerCertificates
public java.security.cert.Certificate[] getServerCertificates()
throws javax.net.ssl.SSLPeerUnverifiedException
- Throws:
javax.net.ssl.SSLPeerUnverifiedException
getHeaderFields
public java.util.Map getHeaderFields()
getRequestProperties
public java.util.Map getRequestProperties()
getServerCertificateChain
public javax.security.cert.X509Certificate[] getServerCertificateChain()
getContent
public java.lang.Object getContent(java.lang.Class[] aclass)
throws java.io.IOException
- Throws:
java.io.IOException
getHeaderField
public java.lang.String getHeaderField(java.lang.String s)
getRequestProperty
public java.lang.String getRequestProperty(java.lang.String s)
addRequestProperty
public void addRequestProperty(java.lang.String s,
java.lang.String s1)
setRequestProperty
public void setRequestProperty(java.lang.String s,
java.lang.String s1)