Class Jdk7HttpProxySocket
java.lang.Object
java.net.Socket
com.hierynomus.protocol.commons.backport.Jdk7HttpProxySocket
- All Implemented Interfaces:
Closeable, AutoCloseable
Socket wrapper that supports pre-Java8 HTTP CONNECT proxies
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidconnect(SocketAddress endpoint, int timeout) private voidconnectHttpProxy(SocketAddress endpoint, int timeout) Methods inherited from class Socket
bind, close, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOption, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, supportedOptions, toString
-
Field Details
-
httpProxy
-
-
Constructor Details
-
Jdk7HttpProxySocket
-
-
Method Details
-
connect
- Overrides:
connectin classSocket- Throws:
IOException
-
connectHttpProxy
- Throws:
IOException
-
checkAndFlushProxyResponse
- Throws:
IOException
-