public class HttpChannelOverHTTP2 extends HttpChannel
Constructor and Description |
---|
HttpChannelOverHTTP2(Connector connector,
HttpConfiguration configuration,
EndPoint endPoint,
HttpTransportOverHTTP2 transport) |
Modifier and Type | Method and Description |
---|---|
protected void |
commit(MetaData.Response info) |
void |
continue100(int available)
If the associated response has the Expect header set to 100 Continue,
then accessing the input stream indicates that the handler/servlet
is ready for the request body and thus a 100 Continue response is sent.
|
HttpTransportOverHTTP2 |
getHttpTransport() |
boolean |
isExpecting100Continue() |
Runnable |
onPushRequest(MetaData.Request request) |
Runnable |
onRequest(HeadersFrame frame) |
void |
recycle() |
Runnable |
requestContent(DataFrame frame,
Callback callback) |
abort, asyncReadFillInterested, execute, getByteBufferPool, getBytesWritten, getCommittedMetaData, getConnector, getEndPoint, getHttpConfiguration, getIdleTimeout, getLocalAddress, getNextInterceptor, getRemoteAddress, getRequest, getRequestLog, getRequests, getResponse, getScheduler, getServer, getState, handle, handleException, isCommitted, isExpecting102Processing, isOptimizedForDirectBuffers, newHttpInput, newHttpOutput, onBadMessage, onCompleted, onContent, onEarlyEOF, onRequest, onRequestComplete, run, sendResponse, sendResponse, setIdleTimeout, setRequestLog, toString, useDirectBuffers, write
public HttpChannelOverHTTP2(Connector connector, HttpConfiguration configuration, EndPoint endPoint, HttpTransportOverHTTP2 transport)
public boolean isExpecting100Continue()
isExpecting100Continue
in class HttpChannel
public Runnable onRequest(HeadersFrame frame)
public Runnable onPushRequest(MetaData.Request request)
public HttpTransportOverHTTP2 getHttpTransport()
getHttpTransport
in class HttpChannel
public void recycle()
recycle
in class HttpChannel
protected void commit(MetaData.Response info)
commit
in class HttpChannel
public void continue100(int available) throws IOException
continue100
in class HttpChannel
available
- estimate of the number of bytes that are availableIOException
- if the InputStream cannot be createdCopyright © 1995-2015 Webtide. All Rights Reserved.