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, toStringgetEndPoint, getTimeStamp, onIdleExpiredprotected NestedConnection(NestedConnector connector, NestedEndPoint endp, javax.servlet.http.HttpServletRequest outerRequest, javax.servlet.http.HttpServletResponse outerResponse, String nestedIn) throws IOException
IOExceptionpublic javax.servlet.ServletInputStream getInputStream()
throws IOException
AbstractHttpConnectionIf 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 AbstractHttpConnectionIOException - if the input stream cannot be retrievedpublic Connection handle() throws IOException
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionIOException - if the handling of I/O operations failCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.