Package 

Class Http2Connection.Listener

    • Method Summary

      Modifier and Type Method Description
      abstract void onStream(Http2Stream stream) Handle a new stream from this connection's peer.
      void onSettings(Http2Connection connection) Notification that the connection's peer's settings may have changed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSettings

         void onSettings(Http2Connection connection)

        Notification that the connection's peer's settings may have changed. Implementations shouldtake appropriate action to handle the updated settings.

        It is the implementation's responsibility to handle concurrent calls to this method. Aremote peer that sends multiple settings frames will trigger multiple calls to this method,and those calls are not necessarily serialized.