org.eclipse.jetty.nested
类 NestedConnection

java.lang.Object
  继承者 org.eclipse.jetty.io.AbstractConnection
      继承者 org.eclipse.jetty.server.AbstractHttpConnection
          继承者 org.eclipse.jetty.nested.NestedConnection
所有已实现的接口:
Connection

public class NestedConnection
extends AbstractHttpConnection


嵌套类摘要
 
从类 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
 
构造方法摘要
protected NestedConnection(NestedConnector connector, NestedEndPoint endp, HttpServletRequest outerRequest, HttpServletResponse outerResponse, String nestedIn)
           
 
方法摘要
 ServletInputStream getInputStream()
          Get the inputStream from the connection.
 Connection handle()
          Handle the connection.
 
从类 org.eclipse.jetty.server.AbstractHttpConnection 继承的方法
commitResponse, completeResponse, content, earlyEOF, flushResponse, getAssociatedObject, getConnector, getCurrentConnection, getGenerator, getMaxIdleTime, getOutputStream, getParser, getPrintWriter, getRequest, getRequestFields, getRequests, getResolveNames, getResponse, getResponseFields, getServer, handleRequest, headerComplete, include, included, isConfidential, isEarlyEOF, isExpecting100Continues, isExpecting102Processing, isIdle, isIncluding, isIntegral, isResponseCommitted, isSuspended, messageComplete, newHttpGenerator, newHttpParser, onClose, parsedHeader, reset, 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
 

构造方法详细信息

NestedConnection

protected NestedConnection(NestedConnector connector,
                           NestedEndPoint endp,
                           HttpServletRequest outerRequest,
                           HttpServletResponse outerResponse,
                           String nestedIn)
                    throws IOException
抛出:
IOException
方法详细信息

getInputStream

public ServletInputStream getInputStream()
                                  throws IOException
从类 AbstractHttpConnection 复制的描述
Get the inputStream from the connection.

If the associated response has the Expect header set to 100 Continue, then accessing the input stream indicates that the handler/servlet is ready for the request body and thus a 100 Continue response is sent.

覆盖:
AbstractHttpConnection 中的 getInputStream
返回:
The input stream for this connection. The stream will be created if it does not already exist.
抛出:
IOException - if the input stream cannot be retrieved

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


Copyright © 2013. All Rights Reserved.