public class ServerHTTPSPDYAsyncConnection 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 |
|---|
ServerHTTPSPDYAsyncConnection(Connector connector,
AsyncEndPoint endPoint,
Server server,
short version,
SPDYAsyncConnection connection,
PushStrategy pushStrategy,
Stream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
async() |
void |
beginRequest(Headers headers,
boolean endRequest) |
void |
commitResponse(boolean last) |
void |
completeResponse() |
void |
content(DataInfo dataInfo,
boolean endRequest) |
void |
endRequest() |
protected void |
execute(Runnable task) |
void |
flushResponse() |
AsyncEndPoint |
getEndPoint() |
Connection |
handle()
Handle the connection.
|
void |
headers(Headers headers) |
protected HttpGenerator |
newHttpGenerator(Buffers responseBuffers,
EndPoint endPoint) |
protected HttpParser |
newHttpParser(Buffers requestBuffers,
EndPoint endPoint,
HttpParser.EventHandler requestHandler) |
void |
onInputShutdown() |
protected void |
reply(Stream stream,
ReplyInfo replyInfo) |
content, earlyEOF, 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, isSuspended, messageComplete, onClose, parsedHeader, reset, setAssociatedObject, setCurrentConnection, startRequest, toStringgetTimeStamp, onIdleExpiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTimeStamp, isIdle, isSuspended, onClose, onIdleExpiredpublic ServerHTTPSPDYAsyncConnection(Connector connector, AsyncEndPoint endPoint, Server server, short version, SPDYAsyncConnection connection, PushStrategy pushStrategy, Stream stream)
protected HttpParser newHttpParser(Buffers requestBuffers, EndPoint endPoint, HttpParser.EventHandler requestHandler)
newHttpParser in class AbstractHttpConnectionprotected HttpGenerator newHttpGenerator(Buffers responseBuffers, EndPoint endPoint)
newHttpGenerator in class AbstractHttpConnectionpublic AsyncEndPoint getEndPoint()
getEndPoint in class AbstractConnectionprotected void execute(Runnable task)
public Connection handle()
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionpublic void onInputShutdown()
throws IOException
onInputShutdown in interface AsyncConnectionIOExceptionpublic void beginRequest(Headers headers, boolean endRequest)
public void headers(Headers headers)
public void content(DataInfo dataInfo, boolean endRequest)
public void endRequest()
public void async()
public void commitResponse(boolean last)
throws IOException
commitResponse in class AbstractHttpConnectionIOExceptionpublic void flushResponse()
throws IOException
flushResponse in class AbstractHttpConnectionIOExceptionpublic void completeResponse()
throws IOException
completeResponse in class AbstractHttpConnectionIOExceptionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.