protected static class Http11AprProtocol.Http11ConnectionHandler extends AbstractProtocol.AbstractConnectionHandler<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<Long> |
createUpgradeProcessor(SocketWrapper<Long> socket,
HttpUpgradeHandler httpUpgradeProcessor) |
protected Log |
getLog() |
protected AbstractProtocol<Long> |
getProtocol() |
protected void |
initSsl(SocketWrapper<Long> socket,
Processor<Long> processor) |
protected void |
longPoll(SocketWrapper<Long> socket,
Processor<Long> processor) |
AbstractEndpoint.Handler.SocketState |
process(SocketWrapper<Long> socket,
SocketStatus status) |
void |
release(SocketWrapper<Long> socket,
Processor<Long> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
getGlobal, recycle, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGlobal, recycle
protected Http11AprProtocol proto
protected AbstractProtocol<Long> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
public void release(SocketWrapper<Long> socket, Processor<Long> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
socket
- processor
- isSocketClosing
- Not used in HTTPaddToPoller
- public AbstractEndpoint.Handler.SocketState process(SocketWrapper<Long> socket, SocketStatus status)
process
in interface AprEndpoint.Handler
process
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected void initSsl(SocketWrapper<Long> socket, Processor<Long> processor)
initSsl
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected void longPoll(SocketWrapper<Long> socket, Processor<Long> processor)
longPoll
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected Http11AprProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected Processor<Long> createUpgradeProcessor(SocketWrapper<Long> socket, HttpUpgradeHandler httpUpgradeProcessor) throws IOException
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.