|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.server.handler.ConnectHandler.ClientToProxyConnection
public class ConnectHandler.ClientToProxyConnection
| 构造方法摘要 | |
|---|---|
ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context,
SocketChannel channel,
EndPoint endPoint,
long timestamp)
|
|
| 方法摘要 | |
|---|---|
void |
close()
|
void |
closeClient()
|
void |
closeServer()
|
long |
getTimeStamp()
|
Connection |
handle()
Handle the connection. |
boolean |
isIdle()
|
boolean |
isSuspended()
The semantic of this method is to return true to indicate interest in further reads, or false otherwise, but it is misnamed and should be really called isReadInterested(). |
void |
onClose()
Called after the connection is closed |
void |
onIdleExpired(long idleForMs)
Called when the connection idle timeout expires |
void |
onInputShutdown()
|
void |
setConnection(ConnectHandler.ProxyToServerConnection connection)
|
void |
shutdownOutput()
|
String |
toString()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context,
SocketChannel channel,
EndPoint endPoint,
long timestamp)
| 方法详细信息 |
|---|
public String toString()
Object 中的 toString
public Connection handle()
throws IOException
Connection 复制的描述
Connection 中的 handleIOException - if the handling of I/O operations fail
public void onInputShutdown()
throws IOException
AsyncConnection 中的 onInputShutdownIOExceptionpublic long getTimeStamp()
Connection 中的 getTimeStamppublic boolean isIdle()
Connection 中的 isIdleConnection.onIdleExpired(long)public boolean isSuspended()
Connection 复制的描述The semantic of this method is to return true to indicate interest in further reads,
or false otherwise, but it is misnamed and should be really called isReadInterested().
Connection 中的 isSuspendedpublic void onClose()
Connection 复制的描述
Connection 中的 onClosepublic void setConnection(ConnectHandler.ProxyToServerConnection connection)
public void closeClient()
throws IOException
IOException
public void closeServer()
throws IOException
IOExceptionpublic void close()
public void shutdownOutput()
throws IOException
IOExceptionpublic void onIdleExpired(long idleForMs)
Connection 复制的描述
Connection 中的 onIdleExpiredidleForMs - how long the connection has been idleConnection.isIdle()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||