public abstract class AbstractHttp11Protocol<S> extends AbstractProtocol<S>
AbstractProtocol.AbstractConnectionHandler<S,P extends Processor<S>>, AbstractProtocol.RecycledProcessors<P extends Processor<S>,S>
adapter, clientCertProvider, domain, endpoint, mserver, oname, processorCache, rgOname, sm, tpOname
Constructor and Description |
---|
AbstractHttp11Protocol() |
Modifier and Type | Method and Description |
---|---|
void |
addAllowedTrailerHeader(java.lang.String header) |
protected void |
configureProcessor(AbstractHttp11Processor<S> processor) |
java.lang.String |
getAllowedTrailerHeaders() |
protected java.util.Set<java.lang.String> |
getAllowedTrailerHeadersAsSet() |
boolean |
getAllowHostHeaderMismatch()
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?
|
java.lang.String |
getCompressableMimeType()
Deprecated.
|
java.lang.String |
getCompressableMimeTypes()
Deprecated.
|
java.lang.String |
getCompressibleMimeType() |
java.lang.String |
getCompression() |
int |
getCompressionMinSize() |
int |
getConnectionUploadTimeout() |
boolean |
getDisableUploadTimeout() |
int |
getMaxExtensionSize() |
int |
getMaxHttpHeaderSize() |
int |
getMaxKeepAliveRequests()
Maximum number of requests which can be performed over a keepalive
connection.
|
int |
getMaxSavePostSize() |
int |
getMaxSwallowSize() |
int |
getMaxTrailerSize() |
java.lang.String |
getNoCompressionUserAgents() |
protected java.lang.String |
getProtocolName()
Obtain the name of the protocol, (Http, Ajp, etc.).
|
boolean |
getRejectIllegalHeaderName()
If an HTTP request is received that contains an illegal header name (i.e.
|
java.lang.String |
getRelaxedPathChars() |
java.lang.String |
getRelaxedQueryChars() |
java.lang.String |
getRestrictedUserAgents() |
boolean |
getSecure() |
java.lang.String |
getServer() |
int |
getSocketBuffer() |
int |
getUpgradeAsyncWriteBufferSize() |
boolean |
isSSLEnabled() |
void |
removeAllowedTrailerHeader(java.lang.String header) |
void |
setAllowedTrailerHeaders(java.lang.String commaSeparatedHeaders) |
void |
setAllowHostHeaderMismatch(boolean allowHostHeaderMismatch)
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?
|
void |
setCompressableMimeType(java.lang.String valueS)
Deprecated.
|
void |
setCompressableMimeTypes(java.lang.String valueS)
Deprecated.
|
void |
setCompressibleMimeType(java.lang.String valueS) |
void |
setCompression(java.lang.String valueS) |
void |
setCompressionMinSize(int valueI) |
void |
setConnectionUploadTimeout(int i) |
void |
setDisableUploadTimeout(boolean isDisabled) |
void |
setMaxExtensionSize(int maxExtensionSize) |
void |
setMaxHttpHeaderSize(int valueI) |
void |
setMaxKeepAliveRequests(int mkar) |
void |
setMaxSavePostSize(int valueI) |
void |
setMaxSwallowSize(int maxSwallowSize) |
void |
setMaxTrailerSize(int maxTrailerSize) |
void |
setNoCompressionUserAgents(java.lang.String valueS) |
void |
setRejectIllegalHeaderName(boolean rejectIllegalHeaderName)
If an HTTP request is received that contains an illegal header name (i.e.
|
void |
setRelaxedPathChars(java.lang.String relaxedPathChars) |
void |
setRelaxedQueryChars(java.lang.String relaxedQueryChars) |
void |
setRestrictedUserAgents(java.lang.String valueS) |
void |
setSecure(boolean b) |
void |
setServer(java.lang.String server) |
void |
setSocketBuffer(int socketBuffer) |
void |
setSSLEnabled(boolean SSLEnabled) |
void |
setUpgradeAsyncWriteBufferSize(int upgradeAsyncWriteBufferSize) |
destroy, getAdapter, getAddress, getBacklog, getClientCertProvider, getConnectionCount, getConnectionTimeout, getDomain, getExecutor, getHandler, getKeepAliveTimeout, getLocalPort, getLog, getMaxConnections, getMaxCookieCount, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getNamePrefix, getObjectName, getPort, getProcessorCache, getProperty, getSoLinger, getSoTimeout, getTcpNoDelay, getThreadPriority, init, isAprRequired, isCometSupported, isCometTimeoutSupported, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setAdapter, setAddress, setBacklog, setClientCertProvider, setConnectionTimeout, setExecutor, setKeepAliveTimeout, setMaxConnections, setMaxCookieCount, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setProcessorCache, setProperty, setSoLinger, setSoTimeout, setTcpNoDelay, setThreadPriority, start, stop
protected java.lang.String getProtocolName()
AbstractProtocol
getProtocolName
in class AbstractProtocol<S>
public java.lang.String getRelaxedPathChars()
public void setRelaxedPathChars(java.lang.String relaxedPathChars)
public java.lang.String getRelaxedQueryChars()
public void setRelaxedQueryChars(java.lang.String relaxedQueryChars)
public boolean getAllowHostHeaderMismatch()
true
if Tomcat will allow such requests, otherwise
false
public void setAllowHostHeaderMismatch(boolean allowHostHeaderMismatch)
allowHostHeaderMismatch
- true
to allow such requests,
false
to reject them with a 400public boolean getRejectIllegalHeaderName()
true
if the request will be rejected or false
if
the header will be ignoredpublic void setRejectIllegalHeaderName(boolean rejectIllegalHeaderName)
rejectIllegalHeaderName
- true
to reject requests with
illegal header names, false
to
ignore the headerpublic int getSocketBuffer()
public void setSocketBuffer(int socketBuffer)
public int getMaxSavePostSize()
public void setMaxSavePostSize(int valueI)
public int getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(int valueI)
public int getConnectionUploadTimeout()
public void setConnectionUploadTimeout(int i)
public boolean getDisableUploadTimeout()
public void setDisableUploadTimeout(boolean isDisabled)
public java.lang.String getCompression()
public void setCompression(java.lang.String valueS)
public java.lang.String getNoCompressionUserAgents()
public void setNoCompressionUserAgents(java.lang.String valueS)
@Deprecated public java.lang.String getCompressableMimeType()
@Deprecated public void setCompressableMimeType(java.lang.String valueS)
@Deprecated public java.lang.String getCompressableMimeTypes()
@Deprecated public void setCompressableMimeTypes(java.lang.String valueS)
public java.lang.String getCompressibleMimeType()
public void setCompressibleMimeType(java.lang.String valueS)
public int getCompressionMinSize()
public void setCompressionMinSize(int valueI)
public java.lang.String getRestrictedUserAgents()
public void setRestrictedUserAgents(java.lang.String valueS)
public java.lang.String getServer()
public void setServer(java.lang.String server)
public int getMaxTrailerSize()
public void setMaxTrailerSize(int maxTrailerSize)
public int getMaxExtensionSize()
public void setMaxExtensionSize(int maxExtensionSize)
public int getMaxSwallowSize()
public void setMaxSwallowSize(int maxSwallowSize)
public boolean getSecure()
public void setSecure(boolean b)
public int getUpgradeAsyncWriteBufferSize()
public void setUpgradeAsyncWriteBufferSize(int upgradeAsyncWriteBufferSize)
public void setAllowedTrailerHeaders(java.lang.String commaSeparatedHeaders)
public java.lang.String getAllowedTrailerHeaders()
public void addAllowedTrailerHeader(java.lang.String header)
public void removeAllowedTrailerHeader(java.lang.String header)
protected java.util.Set<java.lang.String> getAllowedTrailerHeadersAsSet()
public boolean isSSLEnabled()
public void setSSLEnabled(boolean SSLEnabled)
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int mkar)
protected void configureProcessor(AbstractHttp11Processor<S> processor)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.