Class Http2ReceiveListener

  • All Implemented Interfaces:
    EventListener, org.xnio.ChannelListener<Http2Channel>

    public class Http2ReceiveListener
    extends Object
    implements org.xnio.ChannelListener<Http2Channel>
    The recieve listener for a Http2 connection.

    A new instance is created per connection.

    Author:
    Stuart Douglas
    • Constructor Detail

      • Http2ReceiveListener

        public Http2ReceiveListener​(HttpHandler rootHandler,
                                    org.xnio.OptionMap undertowOptions,
                                    int bufferSize,
                                    ConnectorStatisticsImpl connectorStatistics)
    • Method Detail

      • handleEvent

        public void handleEvent​(Http2Channel channel)
        Specified by:
        handleEvent in interface org.xnio.ChannelListener<Http2Channel>