Class Http2ReceiveListener

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

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

    A new instance is created per connection.

    Author:
    Stuart Douglas
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.xnio.ChannelListener

        org.xnio.ChannelListener.Setter<T extends java.nio.channels.Channel>, org.xnio.ChannelListener.SimpleSetter<T extends java.nio.channels.Channel>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleEvent​(Http2Channel channel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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>