protected static class AjpNio2Protocol.AjpConnectionHandler extends AbstractAjpProtocol.AbstractAjpConnectionHandler<Nio2Channel,AjpNio2Processor> implements Nio2Endpoint.Handler
AbstractEndpoint.Handler.SocketState
Modifier and Type | Field and Description |
---|---|
protected AjpNio2Protocol |
proto |
connections, global, recycledProcessors, registerCount
Constructor and Description |
---|
AjpNio2Protocol.AjpConnectionHandler(AjpNio2Protocol proto) |
Modifier and Type | Method and Description |
---|---|
void |
closeAll() |
protected AjpNio2Processor |
createProcessor() |
protected Log |
getLog() |
protected AbstractProtocol<Nio2Channel> |
getProtocol() |
SSLImplementation |
getSslImplementation() |
void |
release(SocketWrapper<Nio2Channel> socket)
Expected to be used by the Poller to release resources on socket
close, errors etc.
|
void |
release(SocketWrapper<Nio2Channel> socket,
Processor<Nio2Channel> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
createUpgradeProcessor, initSsl, longPoll
getGlobal, process, recycle, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
getGlobal, recycle
protected final AjpNio2Protocol proto
public AjpNio2Protocol.AjpConnectionHandler(AjpNio2Protocol proto)
protected AbstractProtocol<Nio2Channel> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>
public SSLImplementation getSslImplementation()
getSslImplementation
in interface Nio2Endpoint.Handler
public void release(SocketWrapper<Nio2Channel> socket)
release
in interface Nio2Endpoint.Handler
public void release(SocketWrapper<Nio2Channel> socket, Processor<Nio2Channel> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>
protected AjpNio2Processor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>
public void closeAll()
closeAll
in interface Nio2Endpoint.Handler
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.