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.SocketProcessor

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    private static final org.apache.juli.logging.Log
     

    Fields inherited from class org.apache.tomcat.util.net.NioEndpoint

    OP_REGISTER

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected SSLEngine
    createSSLEngine(String arg0, List<org.apache.tomcat.util.net.openssl.ciphers.Cipher> arg1, List<String> arg2)
     
    protected boolean
    Code in the following method is almost identical of that available in the base class invalid 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, unlockAccept

    Methods inherited from class org.apache.tomcat.util.net.AbstractJsseEndpoint

    createSSLContext, getLocalAddress, getSniParseLimit, getSslImplementation, getSslImplementationName, initialiseSsl, isAlpnSupported, setDefaultSslHostConfig, setSniParseLimit, setSslImplementationName

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      private static final org.apache.juli.logging.Log log
  • Constructor Details

    • JSSNioEndpoint

      public JSSNioEndpoint()
  • Method Details

    • setSocketOptions

      protected boolean setSocketOptions(SocketChannel socket)
      Code in the following method is almost identical of that available in the base class invalid 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:
      setSocketOptions in class org.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:
      createSSLEngine in class org.apache.tomcat.util.net.AbstractJsseEndpoint<org.apache.tomcat.util.net.NioChannel,SocketChannel>