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(java.lang.Runnable task) |
void |
flushResponse() |
AsyncEndPoint |
getEndPoint() |
Connection |
handle() |
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(java.lang.Runnable task)
public Connection handle()
handle in interface Connectionhandle in class AbstractHttpConnectionpublic void onInputShutdown()
throws java.io.IOException
onInputShutdown in interface AsyncConnectionjava.io.IOExceptionpublic 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 java.io.IOException
commitResponse in class AbstractHttpConnectionjava.io.IOExceptionpublic void flushResponse()
throws java.io.IOException
flushResponse in class AbstractHttpConnectionjava.io.IOExceptionpublic void completeResponse()
throws java.io.IOException
completeResponse in class AbstractHttpConnectionjava.io.IOExceptionCopyright © 2013 FuseSource, Corp.. All Rights Reserved.