public final class SpdyPlainOpenListener extends Object implements ChannelListener<StreamConnection>, OpenListener
ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>
Constructor and Description |
---|
SpdyPlainOpenListener(ByteBufferPool pool,
ByteBufferPool heapBufferPool) |
SpdyPlainOpenListener(ByteBufferPool pool,
ByteBufferPool heapBufferPool,
OptionMap undertowOptions) |
Modifier and Type | Method and Description |
---|---|
ByteBufferPool |
getBufferPool() |
ConnectorStatistics |
getConnectorStatistics() |
HttpHandler |
getRootHandler() |
OptionMap |
getUndertowOptions() |
void |
handleEvent(StreamConnection channel)
Handle the event on this channel.
|
void |
setRootHandler(HttpHandler rootHandler)
Sets the root handler
|
void |
setUndertowOptions(OptionMap undertowOptions) |
public SpdyPlainOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool)
public SpdyPlainOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool, OptionMap undertowOptions)
public void handleEvent(StreamConnection channel)
ChannelListener
handleEvent
in interface ChannelListener<StreamConnection>
channel
- the channel eventpublic ConnectorStatistics getConnectorStatistics()
getConnectorStatistics
in interface OpenListener
public HttpHandler getRootHandler()
getRootHandler
in interface OpenListener
public void setRootHandler(HttpHandler rootHandler)
OpenListener
setRootHandler
in interface OpenListener
rootHandler
- The new root handlerpublic OptionMap getUndertowOptions()
getUndertowOptions
in interface OpenListener
public void setUndertowOptions(OptionMap undertowOptions)
setUndertowOptions
in interface OpenListener
undertowOptions
- The connector optionspublic ByteBufferPool getBufferPool()
getBufferPool
in interface OpenListener
Copyright © 2016 JBoss by Red Hat. All rights reserved.