|
|||||||||
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 | +--sun.net.www.protocol.http.HttpURLConnection | +--com.jproxy.proxy.servlet.TunnelHttpURLConnection
Fields inherited from class sun.net.www.protocol.http.HttpURLConnection |
userAgent |
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 |
Constructor Summary | |
TunnelHttpURLConnection(java.net.URL u,
java.lang.String host,
int port)
|
|
TunnelHttpURLConnection(java.net.URL u,
TunnelHttpHandler handler,
int iTimeout)
|
Method Summary | |
void |
connect()
|
static java.io.InputStream |
openConnectionCheckRedirects(java.net.URLConnection c)
opens a stream allowing redirects only to the same host. |
Methods inherited from class sun.net.www.protocol.http.HttpURLConnection |
disconnect, finalize, getHeaderField, getHeaderField, getHeaderFieldKey, getInputStream, getOutputStream, getRequestProperty, setDefaultAuthenticator, setRequestProperty, usingProxy |
Methods inherited from class java.net.HttpURLConnection |
getErrorStream, getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getPermission, getRequestMethod, getResponseCode, getResponseMessage, setFollowRedirects, setInstanceFollowRedirects, setRequestMethod |
Methods inherited from class java.net.URLConnection |
getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderFieldInt, getIfModifiedSince, getLastModified, getURL, getUseCaches, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setUseCaches, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TunnelHttpURLConnection(java.net.URL u, TunnelHttpHandler handler, int iTimeout) throws java.io.IOException
public TunnelHttpURLConnection(java.net.URL u, java.lang.String host, int port) throws java.io.IOException
Method Detail |
public void connect() throws java.io.IOException
connect
in class sun.net.www.protocol.http.HttpURLConnection
public static java.io.InputStream openConnectionCheckRedirects(java.net.URLConnection c) throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |