public class LoopbackHTTPSocket extends Socket
| Constructor and Description |
|---|
LoopbackHTTPSocket(String host,
int port) |
LoopbackHTTPSocket(String host,
int port,
InetAddress localAddr,
int localPort) |
LoopbackHTTPSocket(String host,
int port,
InetAddress localAddress,
int localPort,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, 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, toStringpublic LoopbackHTTPSocket(String host, int port, InetAddress localAddress, int localPort, int timeout) throws IOException
IOExceptionpublic LoopbackHTTPSocket(String host, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionpublic LoopbackHTTPSocket(String host, int port) throws UnknownHostException, IOException
UnknownHostExceptionIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in class SocketIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class SocketIOExceptionCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.