public class LoopbackHTTPSocket
extends java.net.Socket
Constructor and Description |
---|
LoopbackHTTPSocket(java.lang.String host,
int port) |
LoopbackHTTPSocket(java.lang.String host,
int port,
java.net.InetAddress localAddr,
int localPort) |
LoopbackHTTPSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
int timeout) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream() |
java.io.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, toString
public LoopbackHTTPSocket(java.lang.String host, int port, java.net.InetAddress localAddress, int localPort, int timeout) throws java.io.IOException
java.io.IOException
public LoopbackHTTPSocket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort) throws java.io.IOException
java.io.IOException
public LoopbackHTTPSocket(java.lang.String host, int port) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.Socket
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.Socket
java.io.IOException
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.