public class AsyncHttpConnection extends AbstractHttpConnection implements AsyncConnection
AbstractHttpConnection.Output, AbstractHttpConnection.OutputWriter_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer_endp| Constructor and Description |
|---|
AsyncHttpConnection(Connector connector,
EndPoint endpoint,
Server server) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
handle()
Handle the connection.
|
boolean |
isSuspended()
The semantic of this method is to return true to indicate interest in further reads,
or false otherwise, but it is misnamed and should be really called
isReadInterested(). |
void |
onInputShutdown() |
void |
reset() |
commitResponse, completeResponse, content, earlyEOF, flushResponse, getAssociatedObject, getConnector, getCurrentConnection, getGenerator, getInputStream, getMaxIdleTime, getOutputStream, getParser, getPrintWriter, getRequest, getRequestFields, getRequests, getResolveNames, getResponse, getResponseFields, getServer, handleRequest, headerComplete, include, included, isConfidential, isEarlyEOF, isExpecting100Continues, isExpecting102Processing, isIdle, isIncluding, isIntegral, isResponseCommitted, messageComplete, newHttpGenerator, newHttpParser, onClose, parsedHeader, setAssociatedObject, setCurrentConnection, startRequest, toStringgetEndPoint, getTimeStamp, onIdleExpiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTimeStamp, isIdle, onClose, onIdleExpiredpublic Connection handle() throws java.io.IOException
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionjava.io.IOException - if the handling of I/O operations failpublic void onInputShutdown()
throws java.io.IOException
onInputShutdown in interface AsyncConnectionjava.io.IOExceptionpublic void reset()
reset in class AbstractHttpConnectionpublic boolean isSuspended()
ConnectionThe semantic of this method is to return true to indicate interest in further reads,
or false otherwise, but it is misnamed and should be really called isReadInterested().
isSuspended in interface ConnectionisSuspended in class AbstractHttpConnectionConnection.isSuspended()Copyright © 2013 FuseSource, Corp.. All Rights Reserved.