Uses of Interface
io.netty.handler.codec.http2.Http2Connection.Listener
-
Packages that use Http2Connection.Listener Package Description io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames. -
-
Uses of Http2Connection.Listener in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement Http2Connection.Listener Modifier and Type Class Description classHttp2ConnectionAdapterProvides empty implementations of allHttp2Connection.Listenermethods.classHttp2EventAdapterThis class bringsHttp2Connection.ListenerandHttp2FrameListenertogether to provide NOOP implementation so inheriting classes can selectively choose which methods to override.private classHttp2FrameCodec.ConnectionListenerclassInboundHttp2ToHttpAdapterThis adapter provides just header/data events from the HTTP message flow defined in [RFC 7540], Section 8.1.Fields in io.netty.handler.codec.http2 with type parameters of type Http2Connection.Listener Modifier and Type Field Description private java.util.List<Http2Connection.Listener>DefaultHttp2Connection.ActiveStreams. listeners(package private) java.util.List<Http2Connection.Listener>DefaultHttp2Connection. listenersWe chose aListover aSetto avoid allocating anIteratorobjects when iterating over the listeners.Methods in io.netty.handler.codec.http2 with parameters of type Http2Connection.Listener Modifier and Type Method Description voidDefaultHttp2Connection. addListener(Http2Connection.Listener listener)voidHttp2Connection. addListener(Http2Connection.Listener listener)Adds a listener of stream life-cycle events.voidDefaultHttp2Connection. removeListener(Http2Connection.Listener listener)voidHttp2Connection. removeListener(Http2Connection.Listener listener)Removes a listener of stream life-cycle events.Constructor parameters in io.netty.handler.codec.http2 with type arguments of type Http2Connection.Listener Constructor Description ActiveStreams(java.util.List<Http2Connection.Listener> listeners)
-