public class NestedConnection extends AbstractHttpConnection
AbstractHttpConnection.Output, AbstractHttpConnection.OutputWriter
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer
_endp
Modifier | Constructor and Description |
---|---|
protected |
NestedConnection(NestedConnector connector,
NestedEndPoint endp,
javax.servlet.http.HttpServletRequest outerRequest,
javax.servlet.http.HttpServletResponse outerResponse,
String nestedIn) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.ServletInputStream |
getInputStream()
Get the inputStream from the connection.
|
Connection |
handle()
Handle the connection.
|
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
getEndPoint, getTimeStamp, onIdleExpired
protected NestedConnection(NestedConnector connector, NestedEndPoint endp, javax.servlet.http.HttpServletRequest outerRequest, javax.servlet.http.HttpServletResponse outerResponse, String nestedIn) throws IOException
IOException
public javax.servlet.ServletInputStream getInputStream() throws IOException
AbstractHttpConnection
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.
getInputStream
in class AbstractHttpConnection
IOException
- if the input stream cannot be retrievedpublic Connection handle() throws IOException
Connection
handle
in interface Connection
handle
in class AbstractHttpConnection
IOException
- if the handling of I/O operations failCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.