Class AbstractHttp2StreamChannel.UserEventStreamVisitor

java.lang.Object
io.netty.handler.codec.http2.AbstractHttp2StreamChannel.UserEventStreamVisitor
All Implemented Interfaces:
Http2FrameStreamVisitor
Enclosing class:
AbstractHttp2StreamChannel

private static final class AbstractHttp2StreamChannel.UserEventStreamVisitor extends Object implements Http2FrameStreamVisitor
Http2FrameStreamVisitor that fires the user event for every active stream pipeline.
  • Field Details

    • event

      private final Object event
  • Constructor Details

    • UserEventStreamVisitor

      UserEventStreamVisitor(Object event)
  • Method Details

    • visit

      public boolean visit(Http2FrameStream stream)
      Description copied from interface: Http2FrameStreamVisitor
      This method is called once for each stream of the collection.

      If an Exception is thrown, the loop is stopped.

      Specified by:
      visit in interface Http2FrameStreamVisitor
      Returns:
      • true if the visitor wants to continue the loop and handle the stream.
      • false if the visitor wants to stop handling the stream and abort the loop.