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,
java.lang.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, java.lang.String nestedIn) throws java.io.IOException
java.io.IOExceptionpublic javax.servlet.ServletInputStream getInputStream()
throws java.io.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 AbstractHttpConnectionjava.io.IOException - if the input stream cannot be retrievedpublic Connection handle() throws java.io.IOException
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionjava.io.IOException - if the handling of I/O operations failCopyright © 2013 FuseSource, Corp.. All Rights Reserved.