org.eclipse.jetty.server
类 AsyncHttpConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.server.AbstractHttpConnection
org.eclipse.jetty.server.AsyncHttpConnection
- 所有已实现的接口:
- Connection, AsyncConnection
public class AsyncHttpConnection
- extends AbstractHttpConnection
- implements AsyncConnection
Asychronous Server HTTP connection
| 从类 org.eclipse.jetty.server.AbstractHttpConnection 继承的字段 |
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer |
|
方法摘要 |
Connection |
handle()
Handle the connection. |
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 |
onInputShutdown()
|
void |
reset()
|
| 从类 org.eclipse.jetty.server.AbstractHttpConnection 继承的方法 |
commitResponse, completeResponse, content, earlyEOF, flushResponse, getAssociatedObject, getConnector, getCurrentConnection, getGenerator, getInputStream, getMaxIdleTime, getOutputStream, getParser, getPrintWriter, getRequest, getRequestFields, getRequests, getResolveNames, getResponse, getResponseFields, getServer, handleRequest, headerComplete, include, included, isConfidential, isEarlyEOF, isExpecting100Continues, isExpecting102Processing, isIdle, isIncluding, isIntegral, isResponseCommitted, messageComplete, newHttpGenerator, newHttpParser, onClose, parsedHeader, setAssociatedObject, setCurrentConnection, startRequest, toString |
AsyncHttpConnection
public AsyncHttpConnection(Connector connector,
EndPoint endpoint,
Server server)
handle
public Connection handle()
throws IOException
- 从接口
Connection 复制的描述
- Handle the connection.
- 指定者:
- 接口
Connection 中的 handle - 指定者:
- 类
AbstractHttpConnection 中的 handle
- 返回:
- The Connection to use for the next handling of the connection.
This allows protocol upgrades and support for CONNECT.
- 抛出:
IOException - if the handling of I/O operations fail
onInputShutdown
public void onInputShutdown()
throws IOException
- 指定者:
- 接口
AsyncConnection 中的 onInputShutdown
- 抛出:
IOException
reset
public void reset()
- 覆盖:
- 类
AbstractHttpConnection 中的 reset
isSuspended
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 中的 isSuspended - 覆盖:
- 类
AbstractHttpConnection 中的 isSuspended
- 返回:
- true to indicate interest in further reads, false otherwise
- 另请参见:
Connection.isSuspended()
Copyright © 2013. All Rights Reserved.