public final class HttpOpenListener extends Object implements ChannelListener<StreamConnection>, DelegateOpenListener
ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>| Constructor and Description |
|---|
HttpOpenListener(ByteBufferPool pool) |
HttpOpenListener(ByteBufferPool pool,
OptionMap undertowOptions) |
HttpOpenListener(Pool<ByteBuffer> pool)
Deprecated.
|
HttpOpenListener(Pool<ByteBuffer> pool,
OptionMap undertowOptions)
Deprecated.
|
| 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 |
handleEvent(StreamConnection channel,
PooledByteBuffer buffer) |
void |
setRootHandler(HttpHandler rootHandler)
Sets the root handler
|
void |
setUndertowOptions(OptionMap undertowOptions) |
@Deprecated public HttpOpenListener(Pool<ByteBuffer> pool)
@Deprecated public HttpOpenListener(Pool<ByteBuffer> pool, OptionMap undertowOptions)
public HttpOpenListener(ByteBufferPool pool)
public HttpOpenListener(ByteBufferPool pool, OptionMap undertowOptions)
public void handleEvent(StreamConnection channel)
ChannelListenerhandleEvent in interface ChannelListener<StreamConnection>channel - the channel eventpublic void handleEvent(StreamConnection channel, PooledByteBuffer buffer)
handleEvent in interface DelegateOpenListenerchannel - The channelbuffer - Any additional data that was read from the stream as part of the handshake processpublic HttpHandler getRootHandler()
getRootHandler in interface OpenListenerpublic void setRootHandler(HttpHandler rootHandler)
OpenListenersetRootHandler in interface OpenListenerrootHandler - The new root handlerpublic OptionMap getUndertowOptions()
getUndertowOptions in interface OpenListenerpublic void setUndertowOptions(OptionMap undertowOptions)
setUndertowOptions in interface OpenListenerundertowOptions - The connector optionspublic ByteBufferPool getBufferPool()
getBufferPool in interface OpenListenerpublic ConnectorStatistics getConnectorStatistics()
getConnectorStatistics in interface OpenListenerCopyright © 2018 JBoss by Red Hat. All rights reserved.