protected static class Http11AprProtocol.Http11ConnectionHandler extends AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor> implements AprEndpoint.Handler
AbstractEndpoint.Handler.SocketState
Modifier and Type | Field and Description |
---|---|
protected Http11AprProtocol |
proto |
connections, global, recycledProcessors, registerCount
Modifier and Type | Method and Description |
---|---|
protected Http11AprProcessor |
createProcessor() |
protected Processor<java.lang.Long> |
createUpgradeProcessor(SocketWrapper<java.lang.Long> socket,
java.nio.ByteBuffer leftoverInput,
UpgradeToken upgradeToken) |
protected Log |
getLog() |
protected AbstractProtocol<java.lang.Long> |
getProtocol() |
protected void |
initSsl(SocketWrapper<java.lang.Long> socket,
Processor<java.lang.Long> processor) |
protected void |
longPoll(SocketWrapper<java.lang.Long> socket,
Processor<java.lang.Long> processor) |
void |
release(SocketWrapper<java.lang.Long> socket,
Processor<java.lang.Long> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
getGlobal, process, recycle, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
getGlobal, recycle
protected Http11AprProtocol proto
protected AbstractProtocol<java.lang.Long> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
public void release(SocketWrapper<java.lang.Long> socket, Processor<java.lang.Long> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
socket
- processor
- isSocketClosing
- Not used in HTTPaddToPoller
- protected void initSsl(SocketWrapper<java.lang.Long> socket, Processor<java.lang.Long> processor)
initSsl
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected void longPoll(SocketWrapper<java.lang.Long> socket, Processor<java.lang.Long> processor)
longPoll
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected Http11AprProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected Processor<java.lang.Long> createUpgradeProcessor(SocketWrapper<java.lang.Long> socket, java.nio.ByteBuffer leftoverInput, UpgradeToken upgradeToken) throws java.io.IOException
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
java.io.IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.