public class AjpOpenListener extends Object implements OpenListener
Constructor and Description |
---|
AjpOpenListener(ByteBufferPool pool) |
AjpOpenListener(ByteBufferPool pool, org.xnio.OptionMap undertowOptions) |
AjpOpenListener(org.xnio.Pool<ByteBuffer> pool) |
AjpOpenListener(org.xnio.Pool<ByteBuffer> pool, org.xnio.OptionMap undertowOptions) |
Modifier and Type | Method and Description |
---|---|
ByteBufferPool | getBufferPool() |
ConnectorStatistics | getConnectorStatistics() |
HttpHandler | getRootHandler() |
String | getScheme() |
org.xnio.OptionMap | getUndertowOptions() |
void | handleEvent(org.xnio.StreamConnection channel) |
void | setRootHandler(HttpHandler rootHandler) Sets the root handler |
void | setScheme(String scheme) |
void | setUndertowOptions(org.xnio.OptionMap undertowOptions) |
public AjpOpenListener(org.xnio.Pool<ByteBuffer> pool)
public AjpOpenListener(org.xnio.Pool<ByteBuffer> pool, org.xnio.OptionMap undertowOptions)
public AjpOpenListener(ByteBufferPool pool)
public AjpOpenListener(ByteBufferPool pool, org.xnio.OptionMap undertowOptions)
public void handleEvent(org.xnio.StreamConnection channel)
handleEvent
in interface org.xnio.ChannelListener<org.xnio.StreamConnection>
public HttpHandler getRootHandler()
getRootHandler
in interface OpenListener
public void setRootHandler(HttpHandler rootHandler)
OpenListener
setRootHandler
in interface OpenListener
rootHandler
- The new root handlerpublic org.xnio.OptionMap getUndertowOptions()
getUndertowOptions
in interface OpenListener
public void setUndertowOptions(org.xnio.OptionMap undertowOptions)
setUndertowOptions
in interface OpenListener
undertowOptions
- The connector optionspublic ByteBufferPool getBufferPool()
getBufferPool
in interface OpenListener
public ConnectorStatistics getConnectorStatistics()
getConnectorStatistics
in interface OpenListener
public String getScheme()
public void setScheme(String scheme)
Copyright © 2015 JBoss by Red Hat. All rights reserved.