|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.server.handler.ConnectHandler.ProxyToServerConnection
public class ConnectHandler.ProxyToServerConnection
| 构造方法摘要 | |
|---|---|
ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context,
Buffer data)
|
|
| 方法摘要 | |
|---|---|
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 |
ready()
|
void |
setConnection(ConnectHandler.ClientToProxyConnection connection)
|
void |
setEndPoint(AsyncEndPoint endpoint)
|
void |
setTimeStamp(long timestamp)
|
void |
shutdownOutput()
|
String |
toString()
|
void |
waitReady(long timeout)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context,
Buffer data)
| 方法详细信息 |
|---|
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 void setConnection(ConnectHandler.ClientToProxyConnection connection)
public long getTimeStamp()
Connection 中的 getTimeStamppublic void setTimeStamp(long timestamp)
public void setEndPoint(AsyncEndPoint endpoint)
public 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 ready()
public void waitReady(long timeout)
throws IOException
IOException
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()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||