com.atlassian.bamboo.agent.elastic.tunnel.http
Class HttpTunnelSocket

java.lang.Object
  extended by java.net.Socket
      extended by com.atlassian.bamboo.agent.elastic.tunnel.http.HttpTunnelSocket

public class HttpTunnelSocket
extends java.net.Socket

Connections established by this socket are proxied over a CONNECT-capable HTTP proxy.


Constructor Summary
HttpTunnelSocket(java.net.InetSocketAddress httpProxyAddress)
           
 
Method Summary
 void connect(java.net.SocketAddress remoteAddress, int timeout)
           
 
Methods inherited from class java.net.Socket
bind, close, 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, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpTunnelSocket

public HttpTunnelSocket(java.net.InetSocketAddress httpProxyAddress)
Method Detail

connect

public void connect(java.net.SocketAddress remoteAddress,
                    int timeout)
             throws java.io.IOException
Overrides:
connect in class java.net.Socket
Throws:
java.io.IOException


Copyright © 2011 Atlassian. All Rights Reserved.