Class LoopbackHTTPSocket
java.lang.Object
java.net.Socket
org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionLoopbackHTTPSocket
(String host, int port) LoopbackHTTPSocket
(String host, int port, InetAddress localAddr, int localPort) LoopbackHTTPSocket
(String host, int port, InetAddress localAddress, int localPort, int timeout) -
Method Summary
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOption, 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
-
Constructor Details
-
LoopbackHTTPSocket
public LoopbackHTTPSocket(String host, int port, InetAddress localAddress, int localPort, int timeout) throws IOException - Throws:
IOException
-
LoopbackHTTPSocket
public LoopbackHTTPSocket(String host, int port, InetAddress localAddr, int localPort) throws IOException - Throws:
IOException
-
LoopbackHTTPSocket
- Throws:
UnknownHostException
IOException
-
-
Method Details
-
getOutputStream
- Overrides:
getOutputStream
in classSocket
- Throws:
IOException
-
getInputStream
- Overrides:
getInputStream
in classSocket
- Throws:
IOException
-