org.apache.tomcat.util.net
Class TcpConnection
java.lang.Object
org.apache.tomcat.util.net.TcpConnection
public class TcpConnection
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpConnection
public TcpConnection()
setMaxShutdownTries
public static void setMaxShutdownTries(int mst)
setEndpoint
public void setEndpoint(PoolTcpEndpoint endpoint)
getEndpoint
public PoolTcpEndpoint getEndpoint()
setSocket
public void setSocket(Socket socket)
getSocket
public Socket getSocket()
recycle
public void recycle()
readLine
public static int readLine(InputStream in,
byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
shutdownInput
public static void shutdownInput(Socket socket)
throws IOException
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.