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 java.lang.Object
implements Http2FrameStreamVisitor
Http2FrameStreamVisitor that fires the user event for every active stream pipeline.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvisit(Http2FrameStream stream) This method is called once for each stream of the collection.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
event
private final java.lang.Object event
-
-
Constructor Details
-
UserEventStreamVisitor
UserEventStreamVisitor(java.lang.Object event)
-
-
Method Details
-
visit
Description copied from interface:Http2FrameStreamVisitorThis method is called once for each stream of the collection.If an
Exceptionis thrown, the loop is stopped.- Specified by:
visitin interfaceHttp2FrameStreamVisitor- Returns:
trueif the visitor wants to continue the loop and handle the stream.falseif the visitor wants to stop handling the stream and abort the loop.
-