|
|||||||||
| Home >> All >> org >> apache >> tomcat >> util >> [ net overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.tomcat.util.net
Class TcpConnection

java.lang.Objectorg.apache.tomcat.util.net.TcpConnection
- public class TcpConnection
- extends java.lang.Object
| Field Summary | |
(package private) PoolTcpEndpoint |
endpoint
|
(package private) static int |
MAX_SHUTDOWN_TRIES
Maxium number of times to clear the socket input buffer. |
(package private) java.net.Socket |
socket
|
| Constructor Summary | |
TcpConnection()
|
|
| Method Summary | |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
MAX_SHUTDOWN_TRIES
static int MAX_SHUTDOWN_TRIES
- Maxium number of times to clear the socket input buffer.
endpoint
PoolTcpEndpoint endpoint
socket
java.net.Socket socket
| Constructor Detail |
TcpConnection
public TcpConnection()
| Method Detail |
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
shutdownInput
public static void shutdownInput(java.net.Socket socket) throws java.io.IOException
|
|||||||||
| Home >> All >> org >> apache >> tomcat >> util >> [ net overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.tomcat.util.net.TcpConnection