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, writepublic HttpChannelOverHTTP2(Connector connector, HttpConfiguration configuration, EndPoint endPoint, HttpTransportOverHTTP2 transport)
public boolean isExpecting100Continue()
isExpecting100Continue in class HttpChannelpublic Runnable onRequest(HeadersFrame frame)
public Runnable onPushRequest(MetaData.Request request)
public HttpTransportOverHTTP2 getHttpTransport()
getHttpTransport in class HttpChannelpublic void recycle()
recycle in class HttpChannelprotected void commit(MetaData.Response info)
commit in class HttpChannelpublic void continue100(int available)
throws IOException
continue100 in class HttpChannelavailable - estimate of the number of bytes that are availableIOException - if the InputStream cannot be createdCopyright © 1995–2015 Mort Bay Consulting. All rights reserved.