Class HttpReceiverOverHTTP2
java.lang.Object
org.eclipse.jetty.client.HttpReceiver
org.eclipse.jetty.http2.client.http.HttpReceiverOverHTTP2
- All Implemented Interfaces:
org.eclipse.jetty.http2.HTTP2Channel.Client
public class HttpReceiverOverHTTP2
extends org.eclipse.jetty.client.HttpReceiver
implements org.eclipse.jetty.http2.HTTP2Channel.Client
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpChannelOverHTTP2voidonData(org.eclipse.jetty.http2.frames.DataFrame frame, org.eclipse.jetty.util.Callback callback) voidbooleanprotected voidreceive()protected voidreset()Methods inherited from class org.eclipse.jetty.client.HttpReceiver
abort, demand, dispose, getHttpDestination, getHttpExchange, hasDemandOrStall, isFailed, responseBegin, responseContent, responseFailure, responseHeader, responseHeaders, responseSuccess, storeCookie, toString
-
Constructor Details
-
HttpReceiverOverHTTP2
public HttpReceiverOverHTTP2(org.eclipse.jetty.client.HttpChannel channel)
-
-
Method Details
-
getHttpChannel
- Overrides:
getHttpChannelin classorg.eclipse.jetty.client.HttpReceiver
-
receive
protected void receive()- Overrides:
receivein classorg.eclipse.jetty.client.HttpReceiver
-
reset
protected void reset()- Overrides:
resetin classorg.eclipse.jetty.client.HttpReceiver
-
onData
public void onData(org.eclipse.jetty.http2.frames.DataFrame frame, org.eclipse.jetty.util.Callback callback) - Specified by:
onDatain interfaceorg.eclipse.jetty.http2.HTTP2Channel.Client
-
onTimeout
- Specified by:
onTimeoutin interfaceorg.eclipse.jetty.http2.HTTP2Channel.Client
-
onFailure
- Specified by:
onFailurein interfaceorg.eclipse.jetty.http2.HTTP2Channel.Client
-