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,
SPDYAsyncConnection connection,
Stream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
async() |
void |
beginRequest(Headers headers) |
void |
commitResponse(boolean last) |
void |
completeResponse() |
void |
content(DataInfo dataInfo,
boolean endRequest) |
void |
endRequest() |
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() |
content, getAssociatedObject, getConnector, getCurrentConnection, getGenerator, getInputStream, getMaxIdleTime, getOutputStream, getParser, getPrintWriter, getRequest, getRequestFields, getRequests, getResolveNames, getResponse, getResponseFields, getServer, handleRequest, headerComplete, include, included, isConfidential, 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, SPDYAsyncConnection connection, 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 AbstractConnectionpublic Connection handle()
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionpublic void onInputShutdown()
throws IOException
onInputShutdown in interface AsyncConnectionIOExceptionpublic void beginRequest(Headers headers)
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-2012 Mort Bay Consulting. All Rights Reserved.