|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.Socket
com.mindbright.net.WebProxyTunnelSocket
Socket that implements web proxy tunnelling (using CONNECT) (described in an Internet Draft (expired Feb. 1999) titled 'Tunneling TCP based protocols through Web proxy servers' by: Ari Luotonen) proxy-authentication is described in RFC2616 and RFC2617
Method Summary | |
static WebProxyTunnelSocket |
getProxy(java.lang.String host,
int port,
java.lang.String proxyHost,
int proxyPort,
ProxyAuthenticator authenticator,
java.lang.String userAgent)
|
static WebProxyTunnelSocket |
getProxy(java.lang.String host,
int port,
java.lang.String proxyHost,
int proxyPort,
java.lang.String protoStr,
ProxyAuthenticator authenticator,
java.lang.String userAgent)
|
HttpHeader |
getResponseHeader()
|
java.lang.String |
getServerDesc()
|
java.lang.String |
toString()
|
Methods inherited from class java.net.Socket |
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public HttpHeader getResponseHeader()
public java.lang.String getServerDesc()
public static WebProxyTunnelSocket getProxy(java.lang.String host, int port, java.lang.String proxyHost, int proxyPort, ProxyAuthenticator authenticator, java.lang.String userAgent) throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
public static WebProxyTunnelSocket getProxy(java.lang.String host, int port, java.lang.String proxyHost, int proxyPort, java.lang.String protoStr, ProxyAuthenticator authenticator, java.lang.String userAgent) throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |