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 class
Http2ConnectionAdapter
Provides empty implementations of allHttp2Connection.Listener
methods.class
Http2EventAdapter
This class bringsHttp2Connection.Listener
andHttp2FrameListener
together to provide NOOP implementation so inheriting classes can selectively choose which methods to override.private class
Http2FrameCodec.ConnectionListener
class
InboundHttp2ToHttpAdapter
This 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. listeners
We chose aList
over aSet
to avoid allocating anIterator
objects when iterating over the listeners.Methods in io.netty.handler.codec.http2 with parameters of type Http2Connection.Listener Modifier and Type Method Description void
DefaultHttp2Connection. addListener(Http2Connection.Listener listener)
void
Http2Connection. addListener(Http2Connection.Listener listener)
Adds a listener of stream life-cycle events.void
DefaultHttp2Connection. removeListener(Http2Connection.Listener listener)
void
Http2Connection. 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)
-