Interface H2StreamListener
@Contract(threading=STATELESS)
@Internal
public interface H2StreamListener
HTTP/2 stream event listener.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonFrameInput(org.apache.hc.core5.http.HttpConnection connection, int streamId, RawFrame frame) voidonFrameOutput(org.apache.hc.core5.http.HttpConnection connection, int streamId, RawFrame frame) voidonHeaderInput(org.apache.hc.core5.http.HttpConnection connection, int streamId, List<? extends org.apache.hc.core5.http.Header> headers) voidonHeaderOutput(org.apache.hc.core5.http.HttpConnection connection, int streamId, List<? extends org.apache.hc.core5.http.Header> headers) voidonInputFlowControl(org.apache.hc.core5.http.HttpConnection connection, int streamId, int delta, int actualSize) voidonOutputFlowControl(org.apache.hc.core5.http.HttpConnection connection, int streamId, int delta, int actualSize)
-
Method Details
-
onHeaderInput
void onHeaderInput(org.apache.hc.core5.http.HttpConnection connection, int streamId, List<? extends org.apache.hc.core5.http.Header> headers) -
onHeaderOutput
void onHeaderOutput(org.apache.hc.core5.http.HttpConnection connection, int streamId, List<? extends org.apache.hc.core5.http.Header> headers) -
onFrameInput
-
onFrameOutput
void onFrameOutput(org.apache.hc.core5.http.HttpConnection connection, int streamId, RawFrame frame) -
onInputFlowControl
void onInputFlowControl(org.apache.hc.core5.http.HttpConnection connection, int streamId, int delta, int actualSize) -
onOutputFlowControl
void onOutputFlowControl(org.apache.hc.core5.http.HttpConnection connection, int streamId, int delta, int actualSize)
-