Class AbstractHttp11Protocol<S>

    • Field Detail

      • sm

        protected static final StringManager sm
        The StringManager for this package.
    • Constructor Detail

      • AbstractHttp11Protocol

        public AbstractHttp11Protocol​(AbstractEndpoint<S,​?> endpoint)
        Construct a specific instance of this protocol handler.
        Parameters:
        endpoint - Endpoint on which to accept connections
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Description copied from class: AbstractProtocol
        Initializes the protocol handler.
        Specified by:
        init in interface ProtocolHandler
        Overrides:
        init in class AbstractProtocol<S>
        Throws:
        java.lang.Exception - if initialization fails
      • getProtocolName

        protected java.lang.String getProtocolName()
        Description copied from class: AbstractProtocol
        Obtain the name of the protocol, (Http, Ajp, etc.). Used with JMX.
        Specified by:
        getProtocolName in class AbstractProtocol<S>
        Returns:
        the protocol name
      • getHttpParser

        public HttpParser getHttpParser()
        Get the HttpParser used to parse relaxed characters.
        Returns:
        the HttpParser
      • getContinueResponseTiming

        public java.lang.String getContinueResponseTiming()
        Get the setting for how responses to 100-Continue requests will be sent.
        Returns:
        The current continue response timing setting
      • setContinueResponseTiming

        public void setContinueResponseTiming​(java.lang.String continueResponseTiming)
        Set the setting for how responses to 100-Continue requests will be sent.
        Parameters:
        continueResponseTiming - The new continue response timing setting
      • getContinueResponseTimingInternal

        public ContinueResponseTiming getContinueResponseTimingInternal()
        Get the continue response timing setting as an enum value.
        Returns:
        The continue response timing
      • getUseKeepAliveResponseHeader

        public boolean getUseKeepAliveResponseHeader()
        Get the flag that controls whether the Keep-Alive response header will be used.
        Returns:
        true if the Keep-Alive response header will be used
      • setUseKeepAliveResponseHeader

        public void setUseKeepAliveResponseHeader​(boolean useKeepAliveResponseHeader)
        Set the flag that controls whether the Keep-Alive response header will be used.
        Parameters:
        useKeepAliveResponseHeader - true if the Keep-Alive response header should be used
      • getRelaxedPathChars

        public java.lang.String getRelaxedPathChars()
        Get the set of characters allowed in a URL path.
        Returns:
        The allowed path characters
      • setRelaxedPathChars

        public void setRelaxedPathChars​(java.lang.String relaxedPathChars)
        Set the set of characters allowed in a URL path.
        Parameters:
        relaxedPathChars - The allowed path characters
      • getRelaxedQueryChars

        public java.lang.String getRelaxedQueryChars()
        Get the set of characters allowed in a URL query string.
        Returns:
        The allowed query characters
      • setRelaxedQueryChars

        public void setRelaxedQueryChars​(java.lang.String relaxedQueryChars)
        Set the set of characters allowed in a URL query string.
        Parameters:
        relaxedQueryChars - The allowed query characters
      • getAllowHostHeaderMismatch

        @Deprecated
        public boolean getAllowHostHeaderMismatch()
        Deprecated.
        This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to false.
        Will Tomcat accept an HTTP 1.1 request where the host header does not agree with the host specified (if any) in the request line?
        Returns:
        true if Tomcat will allow such requests, otherwise false
      • setAllowHostHeaderMismatch

        @Deprecated
        public void setAllowHostHeaderMismatch​(boolean allowHostHeaderMismatch)
        Deprecated.
        This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to false.
        Will Tomcat accept an HTTP 1.1 request where the host header does not agree with the host specified (if any) in the request line?
        Parameters:
        allowHostHeaderMismatch - true to allow such requests, false to reject them with a 400
      • getRejectIllegalHeader

        @Deprecated
        public boolean getRejectIllegalHeader()
        Deprecated.
        This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to true.
        If an HTTP request is received that contains an illegal header name or value (e.g. the header name is not a token) will the request be rejected (with a 400 response) or will the illegal header be ignored?
        Returns:
        true if the request will be rejected or false if the header will be ignored
      • setRejectIllegalHeader

        @Deprecated
        public void setRejectIllegalHeader​(boolean rejectIllegalHeader)
        Deprecated.
        This will removed in Tomcat 11 onwards where allowHostHeaderMismatch will be hard-coded to true.
        If an HTTP request is received that contains an illegal header name or value (e.g. the header name is not a token) should the request be rejected (with a 400 response) or should the illegal header be ignored?
        Parameters:
        rejectIllegalHeader - true to reject requests with illegal header names or values, false to ignore the header
      • getRejectIllegalHeaderName

        @Deprecated
        public boolean getRejectIllegalHeaderName()
        Deprecated.
        Now an alias for getRejectIllegalHeader(). Will be removed in Tomcat 10 onwards.
        If an HTTP request is received that contains an illegal header name or value (e.g. the header name is not a token) will the request be rejected (with a 400 response) or will the illegal header be ignored?
        Returns:
        true if the request will be rejected or false if the header will be ignored
      • setRejectIllegalHeaderName

        @Deprecated
        public void setRejectIllegalHeaderName​(boolean rejectIllegalHeaderName)
        Deprecated.
        Now an alias for setRejectIllegalHeader(boolean). Will be removed in Tomcat 10 onwards.
        If an HTTP request is received that contains an illegal header name or value (e.g. the header name is not a token) should the request be rejected (with a 400 response) or should the illegal header be ignored?
        Parameters:
        rejectIllegalHeaderName - true to reject requests with illegal header names or values, false to ignore the header
      • getMaxSavePostSize

        public int getMaxSavePostSize()
        Return the maximum size of the post which will be saved during FORM or CLIENT-CERT authentication.
        Returns:
        The size in bytes
      • setMaxSavePostSize

        public void setMaxSavePostSize​(int maxSavePostSize)
        Set the maximum size of a POST which will be buffered during FORM or CLIENT-CERT authentication. When a POST is received where the security constraints require a client certificate, the POST body needs to be buffered while an SSL handshake takes place to obtain the certificate. A similar buffering is required during FORM auth.
        Parameters:
        maxSavePostSize - The maximum size POST body to buffer in bytes
      • getMaxHttpHeaderSize

        public int getMaxHttpHeaderSize()
        Get the maximum size of the HTTP message header.
        Returns:
        The maximum size of the HTTP message header in bytes
      • setMaxHttpHeaderSize

        public void setMaxHttpHeaderSize​(int valueI)
        Set the maximum size of the HTTP message header.
        Parameters:
        valueI - The maximum size of the HTTP message header in bytes
      • getMaxHttpRequestHeaderSize

        public int getMaxHttpRequestHeaderSize()
        Get the maximum size of the HTTP request message header.
        Returns:
        The maximum size of the HTTP request message header in bytes
      • setMaxHttpRequestHeaderSize

        public void setMaxHttpRequestHeaderSize​(int valueI)
        Set the maximum size of the HTTP request message header.
        Parameters:
        valueI - The maximum size of the HTTP request message header in bytes
      • getMaxHttpResponseHeaderSize

        public int getMaxHttpResponseHeaderSize()
        Get the maximum size of the HTTP response message header.
        Returns:
        The maximum size of the HTTP response message header in bytes
      • setMaxHttpResponseHeaderSize

        public void setMaxHttpResponseHeaderSize​(int valueI)
        Set the maximum size of the HTTP response message header.
        Parameters:
        valueI - The maximum size of the HTTP response message header in bytes
      • getConnectionUploadTimeout

        public int getConnectionUploadTimeout()
        Specifies a different (usually longer) connection timeout during data upload. Default is 5 minutes as in Apache HTTPD server.
        Returns:
        The timeout in milliseconds
      • setConnectionUploadTimeout

        public void setConnectionUploadTimeout​(int timeout)
        Set the upload timeout.
        Parameters:
        timeout - Upload timeout in milliseconds
      • getDisableUploadTimeout

        public boolean getDisableUploadTimeout()
        Get the flag that controls upload time-outs. If true, the connectionUploadTimeout will be ignored and the regular socket timeout will be used for the full duration of the connection.
        Returns:
        true if the separate upload timeout is disabled
      • setDisableUploadTimeout

        public void setDisableUploadTimeout​(boolean isDisabled)
        Set the flag to control whether a separate connection timeout is used during upload of a request body.
        Parameters:
        isDisabled - true if the separate upload timeout should be disabled
      • setCompression

        public void setCompression​(java.lang.String compression)
        Set the compression setting.
        Parameters:
        compression - The compression setting
      • getCompression

        public java.lang.String getCompression()
        Get the compression setting.
        Returns:
        The compression setting
      • getCompressionLevel

        protected int getCompressionLevel()
        Get the compression level.
        Returns:
        The compression level
      • getNoCompressionUserAgents

        public java.lang.String getNoCompressionUserAgents()
        Get the list of user agents that should not use compression.
        Returns:
        The user agents that should not use compression
      • getNoCompressionUserAgentsPattern

        protected java.util.regex.Pattern getNoCompressionUserAgentsPattern()
        Get the pattern of user agents that should not use compression.
        Returns:
        The pattern of user agents that should not use compression
      • setNoCompressionUserAgents

        public void setNoCompressionUserAgents​(java.lang.String noCompressionUserAgents)
        Set the list of user agents that should not use compression.
        Parameters:
        noCompressionUserAgents - The user agents that should not use compression
      • getCompressibleMimeType

        public java.lang.String getCompressibleMimeType()
        Get the MIME types that may be subject to compression.
        Returns:
        The MIME types that may be subject to compression
      • setCompressibleMimeType

        public void setCompressibleMimeType​(java.lang.String valueS)
        Set the MIME types that may be subject to compression.
        Parameters:
        valueS - The MIME types that may be subject to compression
      • getCompressibleMimeTypes

        public java.lang.String[] getCompressibleMimeTypes()
        Get the MIME types that may be subject to compression as an array.
        Returns:
        The MIME types that may be subject to compression
      • getCompressionMinSize

        public int getCompressionMinSize()
        Get the minimum response size for compression to be applied.
        Returns:
        The minimum response size in bytes
      • setCompressionMinSize

        public void setCompressionMinSize​(int compressionMinSize)
        Set the minimum response size for compression to be applied.
        Parameters:
        compressionMinSize - The minimum response size in bytes
      • getNoCompressionEncodings

        public java.lang.String getNoCompressionEncodings()
        Get the content encodings that should not be used.
        Returns:
        The content encodings that should not be used
      • setNoCompressionEncodings

        public void setNoCompressionEncodings​(java.lang.String encodings)
        Set the content encodings that should not be used.
        Parameters:
        encodings - The content encodings that should not be used
      • getNoCompressionStrongETag

        @Deprecated
        public boolean getNoCompressionStrongETag()
        Deprecated.
      • setNoCompressionStrongETag

        @Deprecated
        public void setNoCompressionStrongETag​(boolean noCompressionStrongETag)
        Deprecated.
      • useCompression

        public boolean useCompression​(Request request,
                                      Response response)
        Check if compression should be used for the specified request/response.
        Parameters:
        request - The HTTP request
        response - The HTTP response
        Returns:
        true if compression should be used
      • getRestrictedUserAgents

        public java.lang.String getRestrictedUserAgents()
        Get the string form of the regular expression that defines the User agents which should be restricted to HTTP/1.0 support.
        Returns:
        The regular expression as a String
      • getRestrictedUserAgentsPattern

        protected java.util.regex.Pattern getRestrictedUserAgentsPattern()
        Get the pattern of user agents that should be restricted to HTTP/1.0.
        Returns:
        The pattern of user agents that should be restricted to HTTP/1.0
      • setRestrictedUserAgents

        public void setRestrictedUserAgents​(java.lang.String restrictedUserAgents)
        Set restricted user agent list (which will downgrade the connector to HTTP/1.0 mode). Regular expression as supported by Pattern.
        Parameters:
        restrictedUserAgents - The regular expression as supported by Pattern for the user agents e.g. "gorilla|desesplorer|tigrus"
      • getServer

        public java.lang.String getServer()
        Get the value of the Server response header.
        Returns:
        The value of the Server response header
      • setServer

        public void setServer​(java.lang.String server)
        Set the server header name.
        Parameters:
        server - The new value to use for the server header
      • getServerRemoveAppProvidedValues

        public boolean getServerRemoveAppProvidedValues()
        Should application provider values for the HTTP Server header be removed. Note that if server is set, any application provided value will be over-ridden.
        Returns:
        true if application provided values should be removed, otherwise false
      • setServerRemoveAppProvidedValues

        public void setServerRemoveAppProvidedValues​(boolean serverRemoveAppProvidedValues)
        Set whether application provider values for the HTTP Server header should be removed.
        Parameters:
        serverRemoveAppProvidedValues - true if application provided values should be removed
      • getMaxTrailerSize

        public int getMaxTrailerSize()
        Get the maximum size of trailing headers.
        Returns:
        The maximum size of trailing headers in bytes
      • setMaxTrailerSize

        public void setMaxTrailerSize​(int maxTrailerSize)
        Set the maximum size of trailing headers.
        Parameters:
        maxTrailerSize - The maximum size of trailing headers in bytes
      • getMaxExtensionSize

        public int getMaxExtensionSize()
        Get the maximum size of extension information in chunked encoding.
        Returns:
        The maximum size of extension information in bytes
      • setMaxExtensionSize

        public void setMaxExtensionSize​(int maxExtensionSize)
        Set the maximum size of extension information in chunked encoding.
        Parameters:
        maxExtensionSize - The maximum size of extension information in bytes
      • getMaxSwallowSize

        public int getMaxSwallowSize()
        Get the maximum amount of request body to swallow.
        Returns:
        The maximum amount of request body to swallow in bytes
      • setMaxSwallowSize

        public void setMaxSwallowSize​(int maxSwallowSize)
        Set the maximum amount of request body to swallow.
        Parameters:
        maxSwallowSize - The maximum amount of request body to swallow in bytes
      • getSecure

        public boolean getSecure()
        Get the flag indicating if this protocol is treated as secure.
        Returns:
        true if this protocol is treated as secure
      • setSecure

        public void setSecure​(boolean b)
        Set the flag indicating if this protocol is treated as secure.
        Parameters:
        b - true if this protocol is treated as secure
      • setAllowedTrailerHeaders

        public void setAllowedTrailerHeaders​(java.lang.String commaSeparatedHeaders)
        Set the names of headers that are allowed to be sent via a trailer when using chunked encoding.
        Parameters:
        commaSeparatedHeaders - Comma separated list of header names
      • getAllowedTrailerHeadersInternal

        protected java.util.Set<java.lang.String> getAllowedTrailerHeadersInternal()
        Get the set of allowed trailer header names.
        Returns:
        The set of allowed trailer header names
      • isTrailerHeaderAllowed

        public boolean isTrailerHeaderAllowed​(java.lang.String headerName)
        Check if a header name is in the set of allowed trailer headers.
        Parameters:
        headerName - The header name to check
        Returns:
        true if the header is allowed as a trailer header
      • getAllowedTrailerHeaders

        public java.lang.String getAllowedTrailerHeaders()
        Get the list of allowed trailer headers as a comma-separated string.
        Returns:
        The allowed trailer headers as a comma-separated string
      • addAllowedTrailerHeader

        public void addAllowedTrailerHeader​(java.lang.String header)
        Add a header name to the set of allowed trailer headers.
        Parameters:
        header - The header name to add
      • removeAllowedTrailerHeader

        public void removeAllowedTrailerHeader​(java.lang.String header)
        Remove a header name from the set of allowed trailer headers.
        Parameters:
        header - The header name to remove
      • addUpgradeProtocol

        public void addUpgradeProtocol​(UpgradeProtocol upgradeProtocol)
        Description copied from interface: ProtocolHandler
        Add a new protocol for used by HTTP/1.1 upgrade or ALPN.
        Parameters:
        upgradeProtocol - the protocol
      • findUpgradeProtocols

        public UpgradeProtocol[] findUpgradeProtocols()
        Description copied from interface: ProtocolHandler
        Return all configured upgrade protocols.
        Returns:
        the protocols
      • getUpgradeProtocol

        public UpgradeProtocol getUpgradeProtocol​(java.lang.String upgradedName)
        Description copied from class: AbstractProtocol
        Find a suitable handler for the protocol upgraded name specified. This is used for direct connection protocol selection.
        Specified by:
        getUpgradeProtocol in class AbstractProtocol<S>
        Parameters:
        upgradedName - The name of the requested negotiated protocol.
        Returns:
        The instance where UpgradeProtocol.getAlpnName() matches the requested protocol
      • getUpgradeGroupInfo

        public UpgradeGroupInfo getUpgradeGroupInfo​(java.lang.String upgradeProtocol)
        Get the upgrade group info for the specified upgrade protocol.
        Parameters:
        upgradeProtocol - The upgrade protocol name
        Returns:
        The upgrade group info for the specified protocol
      • getONameForUpgrade

        public javax.management.ObjectName getONameForUpgrade​(java.lang.String upgradeProtocol)
        Get the ObjectName for the MBean of the specified upgrade protocol.
        Parameters:
        upgradeProtocol - The upgrade protocol name
        Returns:
        The ObjectName for the upgrade protocol MBean, or null
      • isSSLEnabled

        public boolean isSSLEnabled()
        Check if SSL is enabled on this connector.
        Returns:
        true if SSL is enabled
      • setSSLEnabled

        public void setSSLEnabled​(boolean SSLEnabled)
        Set whether SSL is enabled on this connector.
        Parameters:
        SSLEnabled - true if SSL is enabled
      • getUseSendfile

        public boolean getUseSendfile()
        Check if sendfile is enabled for this connector.
        Returns:
        true if sendfile is enabled
      • setUseSendfile

        public void setUseSendfile​(boolean useSendfile)
        Set whether sendfile is enabled for this connector.
        Parameters:
        useSendfile - true if sendfile is enabled
      • getMaxKeepAliveRequests

        public int getMaxKeepAliveRequests()
        Get the maximum number of requests which can be performed over a keep-alive connection. The default is the same as for Apache HTTP Server (100).
        Returns:
        The maximum number of requests which can be performed over a keep-alive connection
      • setMaxKeepAliveRequests

        public void setMaxKeepAliveRequests​(int mkar)
        Set the maximum number of Keep-Alive requests to allow. This is to safeguard from DoS attacks. Setting to a negative value disables the limit.
        Parameters:
        mkar - The new maximum number of Keep-Alive requests allowed
      • getDefaultSSLHostConfigName

        public java.lang.String getDefaultSSLHostConfigName()
        Get the default SSL host configuration name.
        Returns:
        The default SSL host configuration name
      • setDefaultSSLHostConfigName

        public void setDefaultSSLHostConfigName​(java.lang.String defaultSSLHostConfigName)
        Set the default SSL host configuration name.
        Parameters:
        defaultSSLHostConfigName - The default SSL host configuration name
      • addSslHostConfig

        public void addSslHostConfig​(SSLHostConfig sslHostConfig)
        Description copied from interface: ProtocolHandler
        Add a new SSL configuration for a virtual host.
        Parameters:
        sslHostConfig - the configuration
      • addSslHostConfig

        public void addSslHostConfig​(SSLHostConfig sslHostConfig,
                                     boolean replace)
        Description copied from interface: ProtocolHandler
        Add a new SSL configuration for a virtual host.
        Parameters:
        sslHostConfig - the configuration
        replace - If true replacement of an existing configuration is permitted, otherwise any such attempted replacement will trigger an exception
      • findSslHostConfigs

        public SSLHostConfig[] findSslHostConfigs()
        Description copied from interface: ProtocolHandler
        Find all configured SSL virtual host configurations which will be used by SNI.
        Returns:
        the configurations
      • reloadSslHostConfigs

        public void reloadSslHostConfigs()
        Reload all SSL host configurations.
      • reloadSslHostConfig

        public void reloadSslHostConfig​(java.lang.String hostName)
        Reload the SSL host configuration for the specified host.
        Parameters:
        hostName - The host name to reload
      • getSslEnabledProtocols

        @Deprecated
        public java.lang.String getSslEnabledProtocols()
        Deprecated.
      • setSslEnabledProtocols

        @Deprecated
        public void setSslEnabledProtocols​(java.lang.String enabledProtocols)
        Deprecated.
      • getSSLProtocol

        @Deprecated
        public java.lang.String getSSLProtocol()
        Deprecated.
      • setSSLProtocol

        @Deprecated
        public void setSSLProtocol​(java.lang.String sslProtocol)
        Deprecated.
      • getKeystoreFile

        @Deprecated
        public java.lang.String getKeystoreFile()
        Deprecated.
      • setKeystoreFile

        @Deprecated
        public void setKeystoreFile​(java.lang.String keystoreFile)
        Deprecated.
      • getSSLCertificateChainFile

        @Deprecated
        public java.lang.String getSSLCertificateChainFile()
        Deprecated.
      • setSSLCertificateChainFile

        @Deprecated
        public void setSSLCertificateChainFile​(java.lang.String certificateChainFile)
        Deprecated.
      • getSSLCertificateFile

        @Deprecated
        public java.lang.String getSSLCertificateFile()
        Deprecated.
      • setSSLCertificateFile

        @Deprecated
        public void setSSLCertificateFile​(java.lang.String certificateFile)
        Deprecated.
      • getSSLCertificateKeyFile

        @Deprecated
        public java.lang.String getSSLCertificateKeyFile()
        Deprecated.
      • setSSLCertificateKeyFile

        @Deprecated
        public void setSSLCertificateKeyFile​(java.lang.String certificateKeyFile)
        Deprecated.
      • getAlgorithm

        @Deprecated
        public java.lang.String getAlgorithm()
        Deprecated.
      • setAlgorithm

        @Deprecated
        public void setAlgorithm​(java.lang.String keyManagerAlgorithm)
        Deprecated.
      • getClientAuth

        @Deprecated
        public java.lang.String getClientAuth()
        Deprecated.
      • setClientAuth

        @Deprecated
        public void setClientAuth​(java.lang.String certificateVerification)
        Deprecated.
      • getSSLVerifyClient

        @Deprecated
        public java.lang.String getSSLVerifyClient()
        Deprecated.
      • setSSLVerifyClient

        @Deprecated
        public void setSSLVerifyClient​(java.lang.String certificateVerification)
        Deprecated.
      • getTrustMaxCertLength

        @Deprecated
        public int getTrustMaxCertLength()
        Deprecated.
      • setTrustMaxCertLength

        @Deprecated
        public void setTrustMaxCertLength​(int certificateVerificationDepth)
        Deprecated.
      • getSSLVerifyDepth

        @Deprecated
        public int getSSLVerifyDepth()
        Deprecated.
      • setSSLVerifyDepth

        @Deprecated
        public void setSSLVerifyDepth​(int certificateVerificationDepth)
        Deprecated.
      • getUseServerCipherSuitesOrder

        @Deprecated
        public boolean getUseServerCipherSuitesOrder()
        Deprecated.
      • setUseServerCipherSuitesOrder

        @Deprecated
        public void setUseServerCipherSuitesOrder​(boolean honorCipherOrder)
        Deprecated.
      • getSSLHonorCipherOrder

        @Deprecated
        public boolean getSSLHonorCipherOrder()
        Deprecated.
      • setSSLHonorCipherOrder

        @Deprecated
        public void setSSLHonorCipherOrder​(boolean honorCipherOrder)
        Deprecated.
      • getCiphers

        @Deprecated
        public java.lang.String getCiphers()
        Deprecated.
      • setCiphers

        @Deprecated
        public void setCiphers​(java.lang.String ciphers)
        Deprecated.
      • getSSLCipherSuite

        @Deprecated
        public java.lang.String getSSLCipherSuite()
        Deprecated.
      • setSSLCipherSuite

        @Deprecated
        public void setSSLCipherSuite​(java.lang.String ciphers)
        Deprecated.
      • getKeystorePass

        @Deprecated
        public java.lang.String getKeystorePass()
        Deprecated.
      • setKeystorePass

        @Deprecated
        public void setKeystorePass​(java.lang.String certificateKeystorePassword)
        Deprecated.
      • getKeystorePassFile

        @Deprecated
        public java.lang.String getKeystorePassFile()
        Deprecated.
      • setKeystorePassFile

        @Deprecated
        public void setKeystorePassFile​(java.lang.String certificateKeystorePasswordFile)
        Deprecated.
      • getKeyPass

        @Deprecated
        public java.lang.String getKeyPass()
        Deprecated.
      • setKeyPass

        @Deprecated
        public void setKeyPass​(java.lang.String certificateKeyPassword)
        Deprecated.
      • getKeyPassFile

        @Deprecated
        public java.lang.String getKeyPassFile()
        Deprecated.
      • setKeyPassFile

        @Deprecated
        public void setKeyPassFile​(java.lang.String certificateKeyPasswordFile)
        Deprecated.
      • getSSLPassword

        @Deprecated
        public java.lang.String getSSLPassword()
        Deprecated.
      • setSSLPassword

        @Deprecated
        public void setSSLPassword​(java.lang.String certificateKeyPassword)
        Deprecated.
      • getSSLPasswordFile

        @Deprecated
        public java.lang.String getSSLPasswordFile()
        Deprecated.
      • setSSLPasswordFile

        @Deprecated
        public void setSSLPasswordFile​(java.lang.String certificateKeyPasswordFile)
        Deprecated.
      • getCrlFile

        @Deprecated
        public java.lang.String getCrlFile()
        Deprecated.
      • setCrlFile

        @Deprecated
        public void setCrlFile​(java.lang.String certificateRevocationListFile)
        Deprecated.
      • getSSLCARevocationFile

        @Deprecated
        public java.lang.String getSSLCARevocationFile()
        Deprecated.
      • setSSLCARevocationFile

        @Deprecated
        public void setSSLCARevocationFile​(java.lang.String certificateRevocationListFile)
        Deprecated.
      • getSSLCARevocationPath

        @Deprecated
        public java.lang.String getSSLCARevocationPath()
        Deprecated.
      • setSSLCARevocationPath

        @Deprecated
        public void setSSLCARevocationPath​(java.lang.String certificateRevocationListPath)
        Deprecated.
      • getKeystoreType

        @Deprecated
        public java.lang.String getKeystoreType()
        Deprecated.
      • setKeystoreType

        @Deprecated
        public void setKeystoreType​(java.lang.String certificateKeystoreType)
        Deprecated.
      • getKeystoreProvider

        @Deprecated
        public java.lang.String getKeystoreProvider()
        Deprecated.
      • setKeystoreProvider

        @Deprecated
        public void setKeystoreProvider​(java.lang.String certificateKeystoreProvider)
        Deprecated.
      • getKeyAlias

        @Deprecated
        public java.lang.String getKeyAlias()
        Deprecated.
      • setKeyAlias

        @Deprecated
        public void setKeyAlias​(java.lang.String certificateKeyAlias)
        Deprecated.
      • getTruststoreAlgorithm

        @Deprecated
        public java.lang.String getTruststoreAlgorithm()
        Deprecated.
      • setTruststoreAlgorithm

        @Deprecated
        public void setTruststoreAlgorithm​(java.lang.String truststoreAlgorithm)
        Deprecated.
      • getTruststoreFile

        @Deprecated
        public java.lang.String getTruststoreFile()
        Deprecated.
      • setTruststoreFile

        @Deprecated
        public void setTruststoreFile​(java.lang.String truststoreFile)
        Deprecated.
      • getTruststorePass

        @Deprecated
        public java.lang.String getTruststorePass()
        Deprecated.
      • setTruststorePass

        @Deprecated
        public void setTruststorePass​(java.lang.String truststorePassword)
        Deprecated.
      • getTruststoreType

        @Deprecated
        public java.lang.String getTruststoreType()
        Deprecated.
      • setTruststoreType

        @Deprecated
        public void setTruststoreType​(java.lang.String truststoreType)
        Deprecated.
      • getTruststoreProvider

        @Deprecated
        public java.lang.String getTruststoreProvider()
        Deprecated.
      • setTruststoreProvider

        @Deprecated
        public void setTruststoreProvider​(java.lang.String truststoreProvider)
        Deprecated.
      • getSslProtocol

        @Deprecated
        public java.lang.String getSslProtocol()
        Deprecated.
      • setSslProtocol

        @Deprecated
        public void setSslProtocol​(java.lang.String sslProtocol)
        Deprecated.
      • getSessionCacheSize

        @Deprecated
        public int getSessionCacheSize()
        Deprecated.
      • setSessionCacheSize

        @Deprecated
        public void setSessionCacheSize​(int sessionCacheSize)
        Deprecated.
      • getSessionTimeout

        @Deprecated
        public int getSessionTimeout()
        Deprecated.
      • setSessionTimeout

        @Deprecated
        public void setSessionTimeout​(int sessionTimeout)
        Deprecated.
      • getSSLCACertificatePath

        @Deprecated
        public java.lang.String getSSLCACertificatePath()
        Deprecated.
      • setSSLCACertificatePath

        @Deprecated
        public void setSSLCACertificatePath​(java.lang.String caCertificatePath)
        Deprecated.
      • getSSLCACertificateFile

        @Deprecated
        public java.lang.String getSSLCACertificateFile()
        Deprecated.
      • setSSLCACertificateFile

        @Deprecated
        public void setSSLCACertificateFile​(java.lang.String caCertificateFile)
        Deprecated.
      • getSSLDisableCompression

        @Deprecated
        public boolean getSSLDisableCompression()
        Deprecated.
      • setSSLDisableCompression

        @Deprecated
        public void setSSLDisableCompression​(boolean disableCompression)
        Deprecated.
      • getSSLDisableSessionTickets

        @Deprecated
        public boolean getSSLDisableSessionTickets()
        Deprecated.
      • setSSLDisableSessionTickets

        @Deprecated
        public void setSSLDisableSessionTickets​(boolean disableSessionTickets)
        Deprecated.
      • getTrustManagerClassName

        @Deprecated
        public java.lang.String getTrustManagerClassName()
        Deprecated.
      • setTrustManagerClassName

        @Deprecated
        public void setTrustManagerClassName​(java.lang.String trustManagerClassName)
        Deprecated.
      • createProcessor

        protected Processor createProcessor()
        Description copied from class: AbstractProtocol
        Create and configure a new Processor instance for the current protocol implementation.
        Specified by:
        createProcessor in class AbstractProtocol<S>
        Returns:
        A fully configured Processor instance that is ready to use
      • createUpgradeProcessor

        protected Processor createUpgradeProcessor​(SocketWrapperBase<?> socket,
                                                   UpgradeToken upgradeToken)
        Description copied from class: AbstractProtocol
        Create and configure a new Processor instance for upgrade connections.
        Specified by:
        createUpgradeProcessor in class AbstractProtocol<S>
        Parameters:
        socket - The socket for the upgrade connection
        upgradeToken - The upgrade token containing upgrade information
        Returns:
        A fully configured Processor instance that is ready to use