Package org.dogtagpki.jss.tomcat
Class JSSNioEndpoint
java.lang.Object
org.apache.tomcat.util.net.AbstractEndpoint<org.apache.tomcat.util.net.NioChannel,SocketChannel>
org.apache.tomcat.util.net.AbstractJsseEndpoint<org.apache.tomcat.util.net.NioChannel,SocketChannel>
org.apache.tomcat.util.net.NioEndpoint
org.dogtagpki.jss.tomcat.JSSNioEndpoint
public class JSSNioEndpoint
extends org.apache.tomcat.util.net.NioEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.tomcat.util.net.NioEndpoint
org.apache.tomcat.util.net.NioEndpoint.NioSocketWrapper, org.apache.tomcat.util.net.NioEndpoint.Poller, org.apache.tomcat.util.net.NioEndpoint.PollerEvent, org.apache.tomcat.util.net.NioEndpoint.SendfileData, org.apache.tomcat.util.net.NioEndpoint.SocketProcessorNested classes/interfaces inherited from class org.apache.tomcat.util.net.AbstractEndpoint
org.apache.tomcat.util.net.AbstractEndpoint.BindState, org.apache.tomcat.util.net.AbstractEndpoint.Handler<S> -
Field Summary
FieldsFields inherited from class org.apache.tomcat.util.net.NioEndpoint
OP_REGISTERFields inherited from class org.apache.tomcat.util.net.AbstractEndpoint
acceptor, acceptorThreadCount, acceptorThreadPriority, attributes, connections, internalExecutor, negotiableProtocols, paused, processorCache, running, sm, socketProperties, sslHostConfigs, threadPriority -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SSLEnginecreateSSLEngine(String arg0, List<org.apache.tomcat.util.net.openssl.ciphers.Cipher> arg1, List<String> arg2) protected booleansetSocketOptions(SocketChannel socket) Code in the following method is almost identical of that available in the base classinvalid input: 'from tomcat git repository for the version 9.0.78.. <p> The only difference is the instantiation of the JSSSecureNioChannel class instead of the tomcat provided SecureNioChannel class. This is needed because the channel class is hard-coded in the base class method. @see org.apache.tomcat.util.net.NioEndpoint#setSocketOptions(SocketChannel socket)'Methods inherited from class org.apache.tomcat.util.net.NioEndpoint
bind, createSocketProcessor, destroySocket, doCloseServerSocket, getDeferAccept, getId, getKeepAliveCount, getLog, getLogCertificate, getNioChannels, getPoller, getPollerThreadCount, getPollerThreadPriority, getSelectorTimeout, getServerSocket, getStopLatch, getUnixDomainSocketPath, getUnixDomainSocketPathPermissions, getUseInheritedChannel, initServerSocket, serverSocketAccept, setPollerThreadCount, setPollerThreadPriority, setSelectorTimeout, setStopLatch, setUnixDomainSocketPath, setUnixDomainSocketPathPermissions, setUseInheritedChannel, startInternal, stopInternal, unbind, unlockAcceptMethods inherited from class org.apache.tomcat.util.net.AbstractJsseEndpoint
createSSLContext, getLocalAddress, getSniParseLimit, getSslImplementation, getSslImplementationName, initialiseSsl, isAlpnSupported, setDefaultSslHostConfig, setSniParseLimit, setSslImplementationNameMethods inherited from class org.apache.tomcat.util.net.AbstractEndpoint
addNegotiatedProtocol, addSslHostConfig, addSslHostConfig, awaitConnectionsClose, closeServerSocketGraceful, closeSocket, countDownConnection, countUpOrAwaitConnection, createExecutor, destroy, destroySsl, findSslHostConfigs, generateCertificateDebug, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAddress, getAttribute, getBindOnInit, getBindState, getConnectionCount, getConnectionLinger, getConnections, getConnectionTimeout, getCurrentThreadCount, getCurrentThreadsBusy, getDaemon, getDefaultSSLHostConfigName, getDomain, getExecutor, getExecutorTerminationTimeoutMillis, getHandler, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxKeepAliveRequests, getMaxThreads, getMinSpareThreads, getName, getPort, getPortOffset, getPortWithOffset, getProperty, getSocketProperties, getSSLHostConfig, getTcpNoDelay, getThreadPriority, getUseAsyncIO, getUseSendfile, getUseVirtualThreads, getUtilityExecutor, hasNegotiableProtocols, init, initializeConnectionLatch, isPaused, isRunning, isSSLEnabled, logCertificate, pause, processSocket, releaseSSLContext, reloadSslHostConfig, reloadSslHostConfigs, removeSslHostConfig, resume, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAddress, setAttribute, setBindOnInit, setConnectionLinger, setConnectionTimeout, setDaemon, setDefaultSSLHostConfigName, setDomain, setExecutor, setExecutorTerminationTimeoutMillis, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxKeepAliveRequests, setMaxThreads, setMinSpareThreads, setName, setPort, setPortOffset, setProperty, setSSLEnabled, setTcpNoDelay, setThreadPriority, setUseAsyncIO, setUseSendfile, setUseVirtualThreads, setUtilityExecutor, shutdownExecutor, start, startAcceptorThread, stop, toTimeout
-
Field Details
-
log
private static final org.apache.juli.logging.Log log
-
-
Constructor Details
-
JSSNioEndpoint
public JSSNioEndpoint()
-
-
Method Details
-
setSocketOptions
Code in the following method is almost identical of that available in the base classinvalid input: 'from tomcat git repository for the version 9.0.78.. <p> The only difference is the instantiation of the JSSSecureNioChannel class instead of the tomcat provided SecureNioChannel class. This is needed because the channel class is hard-coded in the base class method. @see org.apache.tomcat.util.net.NioEndpoint#setSocketOptions(SocketChannel socket)'- Overrides:
setSocketOptionsin classorg.apache.tomcat.util.net.NioEndpoint
-
createSSLEngine
protected SSLEngine createSSLEngine(String arg0, List<org.apache.tomcat.util.net.openssl.ciphers.Cipher> arg1, List<String> arg2) - Overrides:
createSSLEnginein classorg.apache.tomcat.util.net.AbstractJsseEndpoint<org.apache.tomcat.util.net.NioChannel,SocketChannel>
-