public final class SpdyPlainOpenListener extends Object implements org.xnio.ChannelListener<org.xnio.StreamConnection>, OpenListener
| Constructor and Description |
|---|
SpdyPlainOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool) |
SpdyPlainOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool, org.xnio.OptionMap undertowOptions) |
| Modifier and Type | Method and Description |
|---|---|
ByteBufferPool | getBufferPool() |
ConnectorStatistics | getConnectorStatistics() |
HttpHandler | getRootHandler() |
org.xnio.OptionMap | getUndertowOptions() |
void | handleEvent(org.xnio.StreamConnection channel) |
void | setRootHandler(HttpHandler rootHandler) Sets the root handler |
void | setUndertowOptions(org.xnio.OptionMap undertowOptions) |
public SpdyPlainOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool)
public SpdyPlainOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool, org.xnio.OptionMap undertowOptions)
public void handleEvent(org.xnio.StreamConnection channel)
handleEvent in interface org.xnio.ChannelListener<org.xnio.StreamConnection>public ConnectorStatistics getConnectorStatistics()
getConnectorStatistics in interface OpenListenerpublic HttpHandler getRootHandler()
getRootHandler in interface OpenListenerpublic void setRootHandler(HttpHandler rootHandler)
OpenListenersetRootHandler in interface OpenListenerrootHandler - The new root handlerpublic org.xnio.OptionMap getUndertowOptions()
getUndertowOptions in interface OpenListenerpublic void setUndertowOptions(org.xnio.OptionMap undertowOptions)
setUndertowOptions in interface OpenListenerundertowOptions - The connector optionspublic ByteBufferPool getBufferPool()
getBufferPool in interface OpenListenerCopyright © 2015 JBoss by Red Hat. All rights reserved.