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 继承的字段 |
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer |
| 从类 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 |
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.