Interface H2StreamListener


  • @Contract(threading=STATELESS)
    @Internal
    public interface H2StreamListener
    HTTP/2 stream event listener.
    Since:
    5.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onFrameInput​(org.apache.hc.core5.http.HttpConnection connection, int streamId, RawFrame frame)  
      void onFrameOutput​(org.apache.hc.core5.http.HttpConnection connection, int streamId, RawFrame frame)  
      void onHeaderInput​(org.apache.hc.core5.http.HttpConnection connection, int streamId, java.util.List<? extends org.apache.hc.core5.http.Header> headers)  
      void onHeaderOutput​(org.apache.hc.core5.http.HttpConnection connection, int streamId, java.util.List<? extends org.apache.hc.core5.http.Header> headers)  
      void onInputFlowControl​(org.apache.hc.core5.http.HttpConnection connection, int streamId, int delta, int actualSize)  
      void onOutputFlowControl​(org.apache.hc.core5.http.HttpConnection connection, int streamId, int delta, int actualSize)  
    • Method Detail

      • onHeaderInput

        void onHeaderInput​(org.apache.hc.core5.http.HttpConnection connection,
                           int streamId,
                           java.util.List<? extends org.apache.hc.core5.http.Header> headers)
      • onHeaderOutput

        void onHeaderOutput​(org.apache.hc.core5.http.HttpConnection connection,
                            int streamId,
                            java.util.List<? extends org.apache.hc.core5.http.Header> headers)
      • onFrameInput

        void onFrameInput​(org.apache.hc.core5.http.HttpConnection connection,
                          int streamId,
                          RawFrame frame)
      • 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)