public interface OpenListener extends ChannelListener<StreamConnection>
ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>
Modifier and Type | Method and Description |
---|---|
default void |
closeConnections()
Close all active connections that were handled by this listener
|
ByteBufferPool |
getBufferPool() |
ConnectorStatistics |
getConnectorStatistics() |
HttpHandler |
getRootHandler() |
OptionMap |
getUndertowOptions() |
void |
setRootHandler(HttpHandler rootHandler)
Sets the root handler
|
void |
setUndertowOptions(OptionMap undertowOptions) |
handleEvent
HttpHandler getRootHandler()
void setRootHandler(HttpHandler rootHandler)
rootHandler
- The new root handlerOptionMap getUndertowOptions()
void setUndertowOptions(OptionMap undertowOptions)
undertowOptions
- The connector optionsByteBufferPool getBufferPool()
ConnectorStatistics getConnectorStatistics()
default void closeConnections()
Copyright © 2021 JBoss by Red Hat. All rights reserved.