public class BlockingHttpConnection extends AbstractHttpConnection
AbstractHttpConnection.Output, AbstractHttpConnection.OutputWriter
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer
_endp
Constructor and Description |
---|
BlockingHttpConnection(Connector connector,
EndPoint endpoint,
Server server) |
BlockingHttpConnection(Connector connector,
EndPoint endpoint,
Server server,
Parser parser,
Generator generator,
Request request) |
Modifier and Type | Method and Description |
---|---|
Connection |
handle()
Handle the connection.
|
protected void |
handleRequest() |
commitResponse, completeResponse, content, earlyEOF, flushResponse, getAssociatedObject, getConnector, getCurrentConnection, getGenerator, getInputStream, getMaxIdleTime, getOutputStream, getParser, getPrintWriter, getRequest, getRequestFields, getRequests, getResolveNames, getResponse, getResponseFields, getServer, 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
public BlockingHttpConnection(Connector connector, EndPoint endpoint, Server server)
protected void handleRequest() throws IOException
handleRequest
in class AbstractHttpConnection
IOException
public Connection handle() throws IOException
Connection
handle
in interface Connection
handle
in class AbstractHttpConnection
IOException
- if the handling of I/O operations failCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.