Class AbstractHttp2StreamChannel.UserEventStreamVisitor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object event  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean visit​(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 Detail

      • event

        private final java.lang.Object event
    • Constructor Detail

      • UserEventStreamVisitor

        UserEventStreamVisitor​(java.lang.Object event)
    • Method Detail

      • 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.