public final class SpdyOpenListener extends Object implements org.xnio.ChannelListener<org.xnio.StreamConnection>, DelegateOpenListener
| Constructor and Description |
|---|
SpdyOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool) |
SpdyOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool, org.xnio.OptionMap undertowOptions) |
SpdyOpenListener(org.xnio.Pool<ByteBuffer> pool, org.xnio.Pool<ByteBuffer> heapBufferPool) Deprecated. |
SpdyOpenListener(org.xnio.Pool<ByteBuffer> pool, org.xnio.Pool<ByteBuffer> heapBufferPool, org.xnio.OptionMap undertowOptions) Deprecated. |
| Modifier and Type | Method and Description |
|---|---|
ByteBufferPool | getBufferPool() |
ConnectorStatistics | getConnectorStatistics() |
HttpHandler | getRootHandler() |
org.xnio.OptionMap | getUndertowOptions() |
void | handleEvent(org.xnio.StreamConnection channel) |
void | handleEvent(org.xnio.StreamConnection channel, PooledByteBuffer buffer) |
void | setRootHandler(HttpHandler rootHandler) Sets the root handler |
void | setUndertowOptions(org.xnio.OptionMap undertowOptions) |
public static final String SPDY_3_1
@Deprecated public SpdyOpenListener(org.xnio.Pool<ByteBuffer> pool, org.xnio.Pool<ByteBuffer> heapBufferPool)
@Deprecated public SpdyOpenListener(org.xnio.Pool<ByteBuffer> pool, org.xnio.Pool<ByteBuffer> heapBufferPool, org.xnio.OptionMap undertowOptions)
public SpdyOpenListener(ByteBufferPool pool, ByteBufferPool heapBufferPool)
public SpdyOpenListener(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 void handleEvent(org.xnio.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 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 OpenListenerpublic ConnectorStatistics getConnectorStatistics()
getConnectorStatistics in interface OpenListenerCopyright © 2015 JBoss by Red Hat. All rights reserved.