org.apache.tomcat.util.net
Class TcpConnection
java.lang.Object
org.apache.tomcat.util.net.TcpConnection
public class TcpConnection
- extends java.lang.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(java.net.Socket socket)
getSocket
public java.net.Socket getSocket()
recycle
public void recycle()
readLine
public static int readLine(java.io.InputStream in,
byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
shutdownInput
public static void shutdownInput(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.