Package org.apache.coyote.http11
Class AbstractHttp11Protocol<S>
java.lang.Object
org.apache.coyote.AbstractProtocol<S>
org.apache.coyote.http11.AbstractHttp11Protocol<S>
- All Implemented Interfaces:
MBeanRegistration
,ProtocolHandler
- Direct Known Subclasses:
AbstractHttp11JsseProtocol
,Http11AprProtocol
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.coyote.AbstractProtocol
AbstractProtocol.ConnectionHandler<S>, AbstractProtocol.RecycledProcessors
-
Field Summary
Fields inherited from class org.apache.coyote.AbstractProtocol
adapter, domain, mserver, oname, processorCache, rgOname
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllowedTrailerHeader
(String header) void
addSslHostConfig
(SSLHostConfig sslHostConfig) Add a new SSL configuration for a virtual host.void
addSslHostConfig
(SSLHostConfig sslHostConfig, boolean replace) Add a new SSL configuration for a virtual host.void
addUpgradeProtocol
(UpgradeProtocol upgradeProtocol) Add a new protocol for used by HTTP/1.1 upgrade or ALPN.protected Processor
Create and configure a new Processor instance for the current protocol implementation.protected Processor
createUpgradeProcessor
(SocketWrapperBase<?> socket, UpgradeToken upgradeToken) void
destroy()
Destroy the protocol (optional).Find all configured SSL virtual host configurations which will be used by SNI.Return all configured upgrade protocols.Deprecated.boolean
Deprecated.Deprecated.Deprecated.String[]
protected int
int
int
Specifies a different (usually longer) connection timeout during data upload.Deprecated.boolean
Get the flag that controls upload time-outs.protected AbstractEndpoint<S,
?> Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
int
int
int
int
int
Return the maximum size of the post which will be saved during FORM or CLIENT-CERT authentication.int
int
getNegotiatedProtocol
(String negotiatedName) Find a suitable handler for the protocol negotiated at the network layer.boolean
Deprecated.protected Pattern
getONameForUpgrade
(String upgradeProtocol) protected String
Obtain the name of the protocol, (Http, Ajp, etc.).boolean
Deprecated.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded totrue
.boolean
Deprecated.Now an alias forgetRejectIllegalHeader()
.Get the string form of the regular expression that defines the User agents which should be restricted to HTTP/1.0 support.protected Pattern
boolean
boolean
Should application provider values for the HTTP Server header be removed.int
Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.Deprecated.boolean
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getUpgradeGroupInfo
(String upgradeProtocol) getUpgradeProtocol
(String upgradedName) Find a suitable handler for the protocol upgraded name specified.boolean
boolean
boolean
Deprecated.void
init()
Initialise the protocol.boolean
void
reloadSslHostConfig
(String hostName) void
void
removeAllowedTrailerHeader
(String header) void
setAlgorithm
(String keyManagerAlgorithm) Deprecated.void
setAllowedTrailerHeaders
(String commaSeparatedHeaders) void
setAllowHostHeaderMismatch
(boolean allowHostHeaderMismatch) Deprecated.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded tofalse
.void
setCiphers
(String ciphers) Deprecated.void
setClientAuth
(String certificateVerification) Deprecated.void
setCompressibleMimeType
(String valueS) void
setCompression
(String compression) void
setCompressionMinSize
(int compressionMinSize) void
setConnectionUploadTimeout
(int timeout) Set the upload timeout.void
setContinueResponseTiming
(String continueResponseTiming) void
setCrlFile
(String certificateRevocationListFile) Deprecated.void
setDefaultSSLHostConfigName
(String defaultSSLHostConfigName) void
setDisableUploadTimeout
(boolean isDisabled) Set the flag to control whether a separate connection timeout is used during upload of a request body.void
setKeyAlias
(String certificateKeyAlias) Deprecated.void
setKeyPass
(String certificateKeyPassword) Deprecated.void
setKeyPassFile
(String certificateKeyPasswordFile) Deprecated.void
setKeystoreFile
(String keystoreFile) Deprecated.void
setKeystorePass
(String certificateKeystorePassword) Deprecated.void
setKeystorePassFile
(String certificateKeystorePasswordFile) Deprecated.void
setKeystoreProvider
(String certificateKeystoreProvider) Deprecated.void
setKeystoreType
(String certificateKeystoreType) Deprecated.void
setMaxExtensionSize
(int maxExtensionSize) void
setMaxHttpHeaderSize
(int valueI) void
setMaxHttpRequestHeaderSize
(int valueI) void
setMaxHttpResponseHeaderSize
(int valueI) void
setMaxKeepAliveRequests
(int mkar) Set the maximum number of Keep-Alive requests to allow.void
setMaxSavePostSize
(int maxSavePostSize) Set the maximum size of a POST which will be buffered during FORM or CLIENT-CERT authentication.void
setMaxSwallowSize
(int maxSwallowSize) void
setMaxTrailerSize
(int maxTrailerSize) void
setNoCompressionStrongETag
(boolean noCompressionStrongETag) Deprecated.void
setNoCompressionUserAgents
(String noCompressionUserAgents) void
setRejectIllegalHeader
(boolean rejectIllegalHeader) Deprecated.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded totrue
.void
setRejectIllegalHeaderName
(boolean rejectIllegalHeaderName) Deprecated.Now an alias forsetRejectIllegalHeader(boolean)
.void
setRelaxedPathChars
(String relaxedPathChars) void
setRelaxedQueryChars
(String relaxedQueryChars) void
setRestrictedUserAgents
(String restrictedUserAgents) Set restricted user agent list (which will downgrade the connector to HTTP/1.0 mode).void
setSecure
(boolean b) void
Set the server header name.void
setServerRemoveAppProvidedValues
(boolean serverRemoveAppProvidedValues) void
setSessionCacheSize
(int sessionCacheSize) Deprecated.void
setSessionTimeout
(int sessionTimeout) Deprecated.void
setSSLCACertificateFile
(String caCertificateFile) Deprecated.void
setSSLCACertificatePath
(String caCertificatePath) Deprecated.void
setSSLCARevocationFile
(String certificateRevocationListFile) Deprecated.void
setSSLCARevocationPath
(String certificateRevocationListPath) Deprecated.void
setSSLCertificateChainFile
(String certificateChainFile) Deprecated.void
setSSLCertificateFile
(String certificateFile) Deprecated.void
setSSLCertificateKeyFile
(String certificateKeyFile) Deprecated.void
setSSLCipherSuite
(String ciphers) Deprecated.void
setSSLDisableCompression
(boolean disableCompression) Deprecated.void
setSSLDisableSessionTickets
(boolean disableSessionTickets) Deprecated.void
setSSLEnabled
(boolean SSLEnabled) void
setSslEnabledProtocols
(String enabledProtocols) Deprecated.void
setSSLHonorCipherOrder
(boolean honorCipherOrder) Deprecated.void
setSSLPassword
(String certificateKeyPassword) Deprecated.void
setSSLPasswordFile
(String certificateKeyPasswordFile) Deprecated.void
setSslProtocol
(String sslProtocol) Deprecated.void
setSSLProtocol
(String sslProtocol) Deprecated.void
setSSLVerifyClient
(String certificateVerification) Deprecated.void
setSSLVerifyDepth
(int certificateVerificationDepth) Deprecated.void
setTrustManagerClassName
(String trustManagerClassName) Deprecated.void
setTrustMaxCertLength
(int certificateVerificationDepth) Deprecated.void
setTruststoreAlgorithm
(String truststoreAlgorithm) Deprecated.void
setTruststoreFile
(String truststoreFile) Deprecated.void
setTruststorePass
(String truststorePassword) Deprecated.void
setTruststoreProvider
(String truststoreProvider) Deprecated.void
setTruststoreType
(String truststoreType) Deprecated.void
setUseKeepAliveResponseHeader
(boolean useKeepAliveResponseHeader) void
setUseSendfile
(boolean useSendfile) void
setUseServerCipherSuitesOrder
(boolean honorCipherOrder) Deprecated.boolean
useCompression
(Request request, Response response) 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, getLog, getMaxConnections, getMaxHeaderCount, getMaxQueueSize, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getNamePrefix, 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, setMaxQueueSize, setMaxThreads, setMinSpareThreads, setPort, setPortOffset, setProcessorCache, setProperty, setTcpNoDelay, setThreadPriority, setUtilityExecutor, start, startAsyncTimeout, stop, stopAsyncTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.coyote.ProtocolHandler
getDesiredBufferSize
-
Field Details
-
sm
-
-
Constructor Details
-
AbstractHttp11Protocol
-
-
Method Details
-
init
Description copied from interface:ProtocolHandler
Initialise the protocol.- Specified by:
init
in interfaceProtocolHandler
- Overrides:
init
in classAbstractProtocol<S>
- Throws:
Exception
- If the protocol handler fails to initialise
-
destroy
Description copied from interface:ProtocolHandler
Destroy the protocol (optional).- Specified by:
destroy
in interfaceProtocolHandler
- Overrides:
destroy
in classAbstractProtocol<S>
- Throws:
Exception
- If the protocol handler fails to destroy
-
getProtocolName
Description copied from class:AbstractProtocol
Obtain the name of the protocol, (Http, Ajp, etc.). Used with JMX.- Specified by:
getProtocolName
in classAbstractProtocol<S>
- Returns:
- the protocol name
-
getEndpoint
Over-ridden here to make the method visible to nested classes.
- Overrides:
getEndpoint
in classAbstractProtocol<S>
-
getHttpParser
-
getContinueResponseTiming
-
setContinueResponseTiming
-
getContinueResponseTimingInternal
-
getUseKeepAliveResponseHeader
public boolean getUseKeepAliveResponseHeader() -
setUseKeepAliveResponseHeader
public void setUseKeepAliveResponseHeader(boolean useKeepAliveResponseHeader) -
getRelaxedPathChars
-
setRelaxedPathChars
-
getRelaxedQueryChars
-
setRelaxedQueryChars
-
getAllowHostHeaderMismatch
Deprecated.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded tofalse
.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, otherwisefalse
-
setAllowHostHeaderMismatch
Deprecated.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded tofalse
.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.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded totrue
.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 orfalse
if the header will be ignored
-
setRejectIllegalHeader
Deprecated.This will removed in Tomcat 11 onwards whereallowHostHeaderMismatch
will be hard-coded totrue
.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.Now an alias forgetRejectIllegalHeader()
. 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 orfalse
if the header will be ignored
-
setRejectIllegalHeaderName
Deprecated.Now an alias forsetRejectIllegalHeader(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() -
setMaxHttpHeaderSize
public void setMaxHttpHeaderSize(int valueI) -
getMaxHttpRequestHeaderSize
public int getMaxHttpRequestHeaderSize() -
setMaxHttpRequestHeaderSize
public void setMaxHttpRequestHeaderSize(int valueI) -
getMaxHttpResponseHeaderSize
public int getMaxHttpResponseHeaderSize() -
setMaxHttpResponseHeaderSize
public void setMaxHttpResponseHeaderSize(int valueI) -
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
-
getCompression
-
getCompressionLevel
protected int getCompressionLevel() -
getNoCompressionUserAgents
-
getNoCompressionUserAgentsPattern
-
setNoCompressionUserAgents
-
getCompressibleMimeType
-
setCompressibleMimeType
-
getCompressibleMimeTypes
-
getCompressionMinSize
public int getCompressionMinSize() -
setCompressionMinSize
public void setCompressionMinSize(int compressionMinSize) -
getNoCompressionStrongETag
Deprecated. -
setNoCompressionStrongETag
Deprecated. -
useCompression
-
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
-
setRestrictedUserAgents
Set restricted user agent list (which will downgrade the connector to HTTP/1.0 mode). Regular expression as supported byPattern
.- Parameters:
restrictedUserAgents
- The regular expression as supported byPattern
for the user agents e.g. "gorilla|desesplorer|tigrus"
-
getServer
-
setServer
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 ifserver
is set, any application provided value will be over-ridden.- Returns:
true
if application provided values should be removed, otherwisefalse
-
setServerRemoveAppProvidedValues
public void setServerRemoveAppProvidedValues(boolean serverRemoveAppProvidedValues) -
getMaxTrailerSize
public int getMaxTrailerSize() -
setMaxTrailerSize
public void setMaxTrailerSize(int maxTrailerSize) -
getMaxExtensionSize
public int getMaxExtensionSize() -
setMaxExtensionSize
public void setMaxExtensionSize(int maxExtensionSize) -
getMaxSwallowSize
public int getMaxSwallowSize() -
setMaxSwallowSize
public void setMaxSwallowSize(int maxSwallowSize) -
getSecure
public boolean getSecure() -
setSecure
public void setSecure(boolean b) -
setAllowedTrailerHeaders
-
getAllowedTrailerHeadersInternal
-
getAllowedTrailerHeaders
-
addAllowedTrailerHeader
-
removeAllowedTrailerHeader
-
addUpgradeProtocol
Description copied from interface:ProtocolHandler
Add a new protocol for used by HTTP/1.1 upgrade or ALPN.- Parameters:
upgradeProtocol
- the protocol
-
findUpgradeProtocols
Description copied from interface:ProtocolHandler
Return all configured upgrade protocols.- Returns:
- the protocols
-
getNegotiatedProtocol
Description copied from class:AbstractProtocol
Find a suitable handler for the protocol negotiated at the network layer.- Specified by:
getNegotiatedProtocol
in classAbstractProtocol<S>
- Parameters:
negotiatedName
- The name of the requested negotiated protocol.- Returns:
- The instance where
UpgradeProtocol.getAlpnName()
matches the requested protocol
-
getUpgradeProtocol
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 classAbstractProtocol<S>
- Parameters:
upgradedName
- The name of the requested negotiated protocol.- Returns:
- The instance where
UpgradeProtocol.getAlpnName()
matches the requested protocol
-
getUpgradeGroupInfo
-
getONameForUpgrade
-
isSSLEnabled
public boolean isSSLEnabled() -
setSSLEnabled
public void setSSLEnabled(boolean SSLEnabled) -
getUseSendfile
public boolean getUseSendfile() -
setUseSendfile
public void setUseSendfile(boolean useSendfile) -
getMaxKeepAliveRequests
public int getMaxKeepAliveRequests()- Returns:
- 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).
-
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
-
setDefaultSSLHostConfigName
-
addSslHostConfig
Description copied from interface:ProtocolHandler
Add a new SSL configuration for a virtual host.- Parameters:
sslHostConfig
- the configuration
-
addSslHostConfig
Description copied from interface:ProtocolHandler
Add a new SSL configuration for a virtual host.- Parameters:
sslHostConfig
- the configurationreplace
- Iftrue
replacement of an existing configuration is permitted, otherwise any such attempted replacement will trigger an exception
-
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() -
reloadSslHostConfig
-
getSslEnabledProtocols
Deprecated. -
setSslEnabledProtocols
Deprecated. -
getSSLProtocol
Deprecated. -
setSSLProtocol
Deprecated. -
getKeystoreFile
Deprecated. -
setKeystoreFile
Deprecated. -
getSSLCertificateChainFile
Deprecated. -
setSSLCertificateChainFile
Deprecated. -
getSSLCertificateFile
Deprecated. -
setSSLCertificateFile
Deprecated. -
getSSLCertificateKeyFile
Deprecated. -
setSSLCertificateKeyFile
Deprecated. -
getAlgorithm
Deprecated. -
setAlgorithm
Deprecated. -
getClientAuth
Deprecated. -
setClientAuth
Deprecated. -
getSSLVerifyClient
Deprecated. -
setSSLVerifyClient
Deprecated. -
getTrustMaxCertLength
Deprecated. -
setTrustMaxCertLength
Deprecated. -
getSSLVerifyDepth
Deprecated. -
setSSLVerifyDepth
Deprecated. -
getUseServerCipherSuitesOrder
Deprecated. -
setUseServerCipherSuitesOrder
Deprecated. -
getSSLHonorCipherOrder
Deprecated. -
setSSLHonorCipherOrder
Deprecated. -
getCiphers
Deprecated. -
setCiphers
Deprecated. -
getSSLCipherSuite
Deprecated. -
setSSLCipherSuite
Deprecated. -
getKeystorePass
Deprecated. -
setKeystorePass
Deprecated. -
getKeystorePassFile
Deprecated. -
setKeystorePassFile
Deprecated. -
getKeyPass
Deprecated. -
setKeyPass
Deprecated. -
getKeyPassFile
Deprecated. -
setKeyPassFile
Deprecated. -
getSSLPassword
Deprecated. -
setSSLPassword
Deprecated. -
getSSLPasswordFile
Deprecated. -
setSSLPasswordFile
Deprecated. -
getCrlFile
Deprecated. -
setCrlFile
Deprecated. -
getSSLCARevocationFile
Deprecated. -
setSSLCARevocationFile
Deprecated. -
getSSLCARevocationPath
Deprecated. -
setSSLCARevocationPath
Deprecated. -
getKeystoreType
Deprecated. -
setKeystoreType
Deprecated. -
getKeystoreProvider
Deprecated. -
setKeystoreProvider
Deprecated. -
getKeyAlias
Deprecated. -
setKeyAlias
Deprecated. -
getTruststoreAlgorithm
Deprecated. -
setTruststoreAlgorithm
Deprecated. -
getTruststoreFile
Deprecated. -
setTruststoreFile
Deprecated. -
getTruststorePass
Deprecated. -
setTruststorePass
Deprecated. -
getTruststoreType
Deprecated. -
setTruststoreType
Deprecated. -
getTruststoreProvider
Deprecated. -
setTruststoreProvider
Deprecated. -
getSslProtocol
Deprecated. -
setSslProtocol
Deprecated. -
getSessionCacheSize
Deprecated. -
setSessionCacheSize
Deprecated. -
getSessionTimeout
Deprecated. -
setSessionTimeout
Deprecated. -
getSSLCACertificatePath
Deprecated. -
setSSLCACertificatePath
Deprecated. -
getSSLCACertificateFile
Deprecated. -
setSSLCACertificateFile
Deprecated. -
getSSLDisableCompression
Deprecated. -
setSSLDisableCompression
Deprecated. -
getSSLDisableSessionTickets
Deprecated. -
setSSLDisableSessionTickets
Deprecated. -
getTrustManagerClassName
Deprecated. -
setTrustManagerClassName
Deprecated. -
createProcessor
Description copied from class:AbstractProtocol
Create and configure a new Processor instance for the current protocol implementation.- Specified by:
createProcessor
in classAbstractProtocol<S>
- Returns:
- A fully configured Processor instance that is ready to use
-
createUpgradeProcessor
- Specified by:
createUpgradeProcessor
in classAbstractProtocol<S>
-
allowHostHeaderMismatch
will be hard-coded tofalse
.