public interface OpenListener
extends org.xnio.ChannelListener<org.xnio.StreamConnection>
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() |
org.xnio.OptionMap | getUndertowOptions() |
void | setRootHandler(HttpHandler rootHandler) Sets the root handler |
void | setUndertowOptions(org.xnio.OptionMap undertowOptions) |
HttpHandler getRootHandler()
void setRootHandler(HttpHandler rootHandler)
rootHandler
- The new root handlerorg.xnio.OptionMap getUndertowOptions()
void setUndertowOptions(org.xnio.OptionMap undertowOptions)
undertowOptions
- The connector optionsByteBufferPool getBufferPool()
ConnectorStatistics getConnectorStatistics()
default void closeConnections()
Copyright © 2020 JBoss by Red Hat. All rights reserved.