protected static class Http11Protocol.Http11ConnectionHandler extends AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor> implements JIoEndpoint.Handler
AbstractEndpoint.Handler.SocketState
Modifier and Type | Field and Description |
---|---|
protected Http11Protocol |
proto |
connections, global, recycledProcessors, registerCount
Modifier and Type | Method and Description |
---|---|
protected Http11Processor |
createProcessor() |
protected Processor<Socket> |
createUpgradeProcessor(SocketWrapper<Socket> socket,
HttpUpgradeHandler httpUpgradeProcessor) |
protected Processor<Socket> |
createUpgradeProcessor(SocketWrapper<Socket> socket,
UpgradeInbound inbound)
Deprecated.
Will be removed in Tomcat 8.0.x.
|
protected Log |
getLog() |
protected AbstractProtocol<Socket> |
getProtocol() |
SSLImplementation |
getSslImplementation() |
protected void |
initSsl(SocketWrapper<Socket> socket,
Processor<Socket> processor) |
protected void |
longPoll(SocketWrapper<Socket> socket,
Processor<Socket> processor) |
void |
release(SocketWrapper<Socket> socket,
Processor<Socket> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
getGlobal, isAvailable, process, recycle, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAvailable, process
getGlobal, recycle
protected Http11Protocol proto
protected AbstractProtocol<Socket> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
public SSLImplementation getSslImplementation()
getSslImplementation
in interface JIoEndpoint.Handler
public void release(SocketWrapper<Socket> socket, Processor<Socket> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
socket
- Not used in BIOprocessor
- isSocketClosing
- Not used in HTTPaddToPoller
- Not used in BIOprotected void initSsl(SocketWrapper<Socket> socket, Processor<Socket> processor)
initSsl
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
protected void longPoll(SocketWrapper<Socket> socket, Processor<Socket> processor)
longPoll
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
protected Http11Processor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
@Deprecated protected Processor<Socket> createUpgradeProcessor(SocketWrapper<Socket> socket, UpgradeInbound inbound) throws IOException
AbstractProtocol.AbstractConnectionHandler
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
socket
- The socket associated with the connection to upgradeinbound
- Listener to which data available events should be
passedIOException
- if an I/O error occurred during the creation of
the Processorprotected Processor<Socket> createUpgradeProcessor(SocketWrapper<Socket> socket, HttpUpgradeHandler httpUpgradeProcessor) throws IOException
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<Socket,Http11Processor>
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.