org.apache.tomcat.util.net
public class TcpConnection extends java.lang.Object
| Constructor and Description |
|---|
TcpConnection() |
| Modifier and Type | Method and Description |
|---|---|
PoolTcpEndpoint |
getEndpoint() |
java.net.Socket |
getSocket() |
static int |
readLine(java.io.InputStream in,
byte[] b,
int off,
int len) |
void |
recycle() |
void |
setEndpoint(PoolTcpEndpoint endpoint) |
static void |
setMaxShutdownTries(int mst) |
void |
setSocket(java.net.Socket socket) |
static void |
shutdownInput(java.net.Socket socket) |
public static void setMaxShutdownTries(int mst)
public void setEndpoint(PoolTcpEndpoint endpoint)
public PoolTcpEndpoint getEndpoint()
public void setSocket(java.net.Socket socket)
public java.net.Socket getSocket()
public void recycle()
public static int readLine(java.io.InputStream in,
byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic static void shutdownInput(java.net.Socket socket)
throws java.io.IOException
java.io.IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.