Class XiHttp11NioProtocol

  • All Implemented Interfaces:
    MBeanRegistration, org.apache.coyote.ProtocolHandler

    public class XiHttp11NioProtocol
    extends org.apache.coyote.http11.Http11NioProtocol
    Wrapper of @link Http11Nio2Protocol which allows encrypted passwords.
    Author:
    Lijun Liao (xipki)
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.coyote.AbstractProtocol

        org.apache.coyote.AbstractProtocol.ConnectionHandler<S extends Object>, org.apache.coyote.AbstractProtocol.RecycledProcessors
    • Field Summary

      • Fields inherited from class org.apache.coyote.http11.AbstractHttp11Protocol

        sm
      • Fields inherited from class org.apache.coyote.AbstractProtocol

        adapter, domain, mserver, oname, processorCache, rgOname
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSslHostConfig​(org.apache.tomcat.util.net.SSLHostConfig sslHostConfig)  
      void setKeyPass​(String certificateKeyPassword)  
      void setKeystorePass​(String certificateKeystorePassword)  
      void setSSLPassword​(String certificateKeyPassword)  
      void setTruststorePass​(String truststorePassword)  
      • Methods inherited from class org.apache.coyote.http11.Http11NioProtocol

        getLog, getNamePrefix, getPollerThreadCount, getPollerThreadPriority, getSelectorTimeout, setPollerThreadCount, setPollerThreadPriority, setSelectorTimeout
      • Methods inherited from class org.apache.coyote.http11.AbstractHttp11JsseProtocol

        getEndpoint, getSniParseLimit, getSslImplementationName, getSslImplementationShortName, setSniParseLimit, setSslImplementationName
      • Methods inherited from class org.apache.coyote.http11.AbstractHttp11Protocol

        addAllowedTrailerHeader, addUpgradeProtocol, createProcessor, createUpgradeProcessor, destroy, findSslHostConfigs, findUpgradeProtocols, getAlgorithm, getAllowedTrailerHeaders, getAllowedTrailerHeadersInternal, getAllowHostHeaderMismatch, getCiphers, getClientAuth, getCompressibleMimeType, getCompressibleMimeTypes, getCompression, getCompressionLevel, getCompressionMinSize, getConnectionUploadTimeout, getContinueResponseTiming, getContinueResponseTimingInternal, getCrlFile, getDefaultSSLHostConfigName, getDisableUploadTimeout, getKeyAlias, getKeyPass, getKeystoreFile, getKeystorePass, getKeystoreProvider, getKeystoreType, getMaxExtensionSize, getMaxHttpHeaderSize, getMaxHttpRequestHeaderSize, getMaxHttpResponseHeaderSize, getMaxKeepAliveRequests, getMaxSavePostSize, getMaxSwallowSize, getMaxTrailerSize, getNegotiatedProtocol, getNoCompressionStrongETag, getNoCompressionUserAgents, getNoCompressionUserAgentsPattern, getONameForUpgrade, getProtocolName, getRejectIllegalHeader, getRejectIllegalHeaderName, getRelaxedPathChars, getRelaxedQueryChars, getRestrictedUserAgents, getRestrictedUserAgentsPattern, getSecure, getServer, getServerRemoveAppProvidedValues, getSessionCacheSize, getSessionTimeout, getSSLCACertificateFile, getSSLCACertificatePath, getSSLCARevocationFile, getSSLCARevocationPath, getSSLCertificateChainFile, getSSLCertificateFile, getSSLCertificateKeyFile, getSSLCipherSuite, getSSLDisableCompression, getSSLDisableSessionTickets, getSslEnabledProtocols, getSSLHonorCipherOrder, getSSLPassword, getSslProtocol, getSSLProtocol, getSSLVerifyClient, getSSLVerifyDepth, getTrustManagerClassName, getTrustMaxCertLength, getTruststoreAlgorithm, getTruststoreFile, getTruststorePass, getTruststoreProvider, getTruststoreType, getUpgradeGroupInfo, getUpgradeProtocol, getUseKeepAliveResponseHeader, getUseSendfile, getUseServerCipherSuitesOrder, init, isSSLEnabled, reloadSslHostConfig, reloadSslHostConfigs, removeAllowedTrailerHeader, setAlgorithm, setAllowedTrailerHeaders, setAllowHostHeaderMismatch, setCiphers, setClientAuth, setCompressibleMimeType, setCompression, setCompressionMinSize, setConnectionUploadTimeout, setContinueResponseTiming, setCrlFile, setDefaultSSLHostConfigName, setDisableUploadTimeout, setKeyAlias, setKeystoreFile, setKeystoreProvider, setKeystoreType, setMaxExtensionSize, setMaxHttpHeaderSize, setMaxHttpRequestHeaderSize, setMaxHttpResponseHeaderSize, setMaxKeepAliveRequests, setMaxSavePostSize, setMaxSwallowSize, setMaxTrailerSize, setNoCompressionStrongETag, setNoCompressionUserAgents, setRejectIllegalHeader, setRejectIllegalHeaderName, setRelaxedPathChars, setRelaxedQueryChars, setRestrictedUserAgents, setSecure, setServer, setServerRemoveAppProvidedValues, setSessionCacheSize, setSessionTimeout, setSSLCACertificateFile, setSSLCACertificatePath, setSSLCARevocationFile, setSSLCARevocationPath, setSSLCertificateChainFile, setSSLCertificateFile, setSSLCertificateKeyFile, setSSLCipherSuite, setSSLDisableCompression, setSSLDisableSessionTickets, setSSLEnabled, setSslEnabledProtocols, setSSLHonorCipherOrder, setSslProtocol, setSSLProtocol, setSSLVerifyClient, setSSLVerifyDepth, setTrustManagerClassName, setTrustMaxCertLength, setTruststoreAlgorithm, setTruststoreFile, setTruststoreProvider, setTruststoreType, setUseKeepAliveResponseHeader, setUseSendfile, setUseServerCipherSuitesOrder, useCompression
      • Methods inherited from class org.apache.coyote.AbstractProtocol

        addWaitingProcessor, awaitConnectionsClose, closeServerSocketGraceful, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAdapter, getAddress, getClientCertProvider, getConnectionCount, getConnectionLinger, getConnectionTimeout, getDomain, getExecutor, getGlobalRequestProcessorMBeanName, getHandler, getId, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getPortOffset, getPortWithOffset, getProcessorCache, getProperty, getTcpNoDelay, getThreadPriority, getUtilityExecutor, getWaitingProcessorCount, isAprRequired, isPaused, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, removeWaitingProcessor, resume, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAdapter, setAddress, setClientCertProvider, setConnectionLinger, setConnectionTimeout, setExecutor, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setPortOffset, setProcessorCache, setProperty, setTcpNoDelay, setThreadPriority, setUtilityExecutor, start, startAsyncTimeout, stop, stopAsyncTimeout
      • Methods inherited from interface org.apache.coyote.ProtocolHandler

        getDesiredBufferSize
    • Constructor Detail

      • XiHttp11NioProtocol

        public XiHttp11NioProtocol()
    • Method Detail

      • setKeystorePass

        public void setKeystorePass​(String certificateKeystorePassword)
        Overrides:
        setKeystorePass in class org.apache.coyote.http11.AbstractHttp11Protocol<org.apache.tomcat.util.net.NioChannel>
      • setKeyPass

        public void setKeyPass​(String certificateKeyPassword)
        Overrides:
        setKeyPass in class org.apache.coyote.http11.AbstractHttp11Protocol<org.apache.tomcat.util.net.NioChannel>
      • setSSLPassword

        public void setSSLPassword​(String certificateKeyPassword)
        Overrides:
        setSSLPassword in class org.apache.coyote.http11.AbstractHttp11Protocol<org.apache.tomcat.util.net.NioChannel>
      • setTruststorePass

        public void setTruststorePass​(String truststorePassword)
        Overrides:
        setTruststorePass in class org.apache.coyote.http11.AbstractHttp11Protocol<org.apache.tomcat.util.net.NioChannel>
      • addSslHostConfig

        public void addSslHostConfig​(org.apache.tomcat.util.net.SSLHostConfig sslHostConfig)
        Specified by:
        addSslHostConfig in interface org.apache.coyote.ProtocolHandler
        Overrides:
        addSslHostConfig in class org.apache.coyote.http11.AbstractHttp11Protocol<org.apache.tomcat.util.net.NioChannel>