Top Description Methods
io.netty.handler.codec.http2

public Interface Http2FrameStreamVisitor

Known Direct Implementers
io.netty.handler.codec.http2.AbstractHttp2StreamChannel.UserEventStreamVisitor
Annotations
@UnstableApi
Imports
io.netty.util.internal.UnstableApi

A visitor that allows to iterate over a collection of Http2FrameStreams.

Method Summary

Modifier and TypeMethod and Description
public boolean

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.
visit
(Http2FrameStream stream)

This method is called once for each stream of the collection.

Method Detail

visitback to summary
public boolean visit(Http2FrameStream stream)

This method is called once for each stream of the collection.

If an Exception is thrown, the loop is stopped.

Returns:boolean

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