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 继承的嵌套类/接口
AbstractHttpConnection.Output, AbstractHttpConnection.OutputWriter
 
字段摘要
 
从类 org.eclipse.jetty.server.AbstractHttpConnection 继承的字段
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer
 
从类 org.eclipse.jetty.io.AbstractConnection 继承的字段
_endp
 
构造方法摘要
AsyncHttpConnection(Connector connector, EndPoint endpoint, Server server)
           
 
方法摘要
 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
 
从类 org.eclipse.jetty.io.AbstractConnection 继承的方法
getEndPoint, getTimeStamp, onIdleExpired
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 org.eclipse.jetty.io.Connection 继承的方法
getTimeStamp, isIdle, onClose, onIdleExpired
 

构造方法详细信息

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.