public class Http2ReceiveListener extends Object implements ChannelListener<Http2Channel>
A new instance is created per connection.
ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>
Constructor and Description |
---|
Http2ReceiveListener(HttpHandler rootHandler,
OptionMap undertowOptions,
int bufferSize,
ConnectorStatisticsImpl connectorStatistics) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Http2Channel channel)
Handle the event on this channel.
|
public Http2ReceiveListener(HttpHandler rootHandler, OptionMap undertowOptions, int bufferSize, ConnectorStatisticsImpl connectorStatistics)
public void handleEvent(Http2Channel channel)
ChannelListener
handleEvent
in interface ChannelListener<Http2Channel>
channel
- the channel eventCopyright © 2016 JBoss by Red Hat. All rights reserved.