public interface Http extends ConfigBeanProxy, PropertyBag
Modifier and Type | Interface and Description |
---|---|
static class |
Http.Duck |
Modifier and Type | Method and Description |
---|---|
String |
getAdapter() |
String |
getAllowPayloadForUndefinedHttpMethods() |
String |
getAuthPassThroughEnabled()
Enable pass through of authentication from any front-end server
|
String |
getChunkingEnabled() |
String |
getCometSupportEnabled()
Enable comet support for this http instance.
|
String |
getCompressableMimeType() |
@Pattern(regexp="on|off|force|\\d+") String |
getCompression() |
String |
getCompressionMinSizeBytes() |
String |
getConnectionUploadTimeoutMillis() |
String |
getDefaultResponseType()
Setting the default response-type.
|
String |
getDefaultVirtualServer()
The id attribute of the default virtual server for this particular connection group.
|
String |
getDnsLookupEnabled() |
String |
getEncodedSlashEnabled() |
@NotNull FileCache |
getFileCache()
Gets the value of the fileCache property.
|
String |
getForcedResponseType()
Deprecated.
|
String |
getHeaderBufferLengthBytes()
The size of the buffer used by the request processing threads for reading the request data
|
String |
getHttp2CleanFrequencyCheck()
The number of streams that must be closed before checking if the number of streams
exceeds the
HTTP2_STREAMS_HIGH_WATER_MARK . |
@Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)",message="Must be a valid float between 0 and 1") String |
getHttp2CleanPercentage()
The number of streams to process when the
HTTP2_STREAMS_HIGH_WATER_MARK
is exceeded. |
String |
getHttp2DisableCipherCheck()
Controls whether or not insecure cipher suites are allowed to establish TLS connections.
|
String |
getHttp2Enabled()
Controls whether or not HTTP/2 is enabled.
|
String |
getHttp2InitialWindowSizeInBytes()
Configures the initial window size in bytes.
|
String |
getHttp2MaxConcurrentStreams()
Configures the number of concurrent streams allowed per HTTP2 connection.
|
String |
getHttp2MaxFramePayloadSizeInBytes()
Configures the maximum size of the HTTP2 frame payload to be accepted.
|
String |
getHttp2MaxHeaderListSizeInBytes()
Configures the maximum size, in bytes, of the header list.
|
String |
getHttp2PushEnabled()
Controls whether or not push is allowed by the server endpoints.
|
@Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)",message="Must be a valid float between 0 and 1") String |
getHttp2StreamsHighWaterMark()
Streams are periodically cleaned when the stream count exceeds this value,
as a proportion of the
HTTP2_MAX_CONCURRENT_STREAMS . |
String |
getJkConfigurationFile() |
String |
getJkEnabled()
If true, a jk listener is enabled
|
String |
getMaxConnections()
Max number of connection in the Keep Alive mode
|
String |
getMaxFormPostSizeBytes() |
String |
getMaxPostSizeBytes() |
String |
getMaxRequestHeaders()
Returns the maximum number of headers allowed for a request.
|
String |
getMaxRequestParameters()
Returns the maximum number of parameters allowed per request.
|
String |
getMaxResponseHeaders()
Returns the maximum number of headers allowed for a response.
|
String |
getMaxSavePostSizeBytes() |
String |
getMaxSwallowingInputBytes() |
String |
getNoCompressionUserAgents() |
Protocol |
getParent()
Returns the parent element of this configuration element.
|
String |
getRcmSupportEnabled()
Deprecated.
|
String |
getRedirectPort()
if the connector is supporting non-SSL requests and a request is received for which a matching
security-constraint requires SSL transport catalina will automatically redirect the request to the port number
specified here
|
String |
getRemoteUserMapping()
Returns the HTTP request header name, whose value (if non-null) would be used
to set the name of the remote user that has been authenticated
for HTTP Request.
|
String |
getRequestTimeoutSeconds()
Time after which the request times out in seconds
|
String |
getRestrictedUserAgents() |
@Pattern(regexp="http|https") String |
getScheme()
The HTTP scheme (http or https) to override HTTP request scheme picked up
by Grizzly or web-container during HTTP request processing.
|
String |
getSchemeMapping()
Returns the HTTP request header name, whose value (if non-null) would be used
to override default protocol scheme picked up by framework during
request processing.
|
String |
getSendBufferSizeBytes()
Size of the buffer for response bodies in bytes
|
String |
getServerHeader() |
String |
getServerName()
Tells the server what to put in the host name section of any URLs it sends to the client.
|
String |
getTimeoutSeconds()
Keep Alive timeout, max time a connection can be deemed as idle and kept in the keep-alive state
|
String |
getTraceEnabled() |
String |
getUploadTimeoutEnabled() |
String |
getUriEncoding() |
String |
getWebsocketsSupportEnabled() |
String |
getWebsocketsTimeoutSeconds()
Max time a connection may be idle before being closed.
|
String |
getXframeOptions() |
String |
getXpoweredBy()
The Servlet 2.4 spec defines a special X-Powered-By: Servlet/2.4 header, which containers may add to
servlet-generated responses.
|
void |
setAdapter(String adapter) |
void |
setAllowPayloadForUndefinedHttpMethods(String allowPayloadForUndefinedHttpMethods) |
void |
setAuthPassThroughEnabled(String bool) |
void |
setChunkingEnabled(String enabled) |
void |
setCometSupportEnabled(String enable) |
void |
setCompressableMimeType(String type) |
void |
setCompression(String compression) |
void |
setCompressionMinSizeBytes(String size) |
void |
setConnectionUploadTimeoutMillis(String timeout) |
void |
setDefaultResponseType(String defaultResponseType) |
void |
setDefaultVirtualServer(String defaultVirtualServer) |
void |
setDnsLookupEnabled(String enable) |
void |
setEncodedSlashEnabled(String enabled) |
void |
setFileCache(FileCache value) |
void |
setForcedResponseType(String forcedResponseType)
Deprecated.
|
void |
setHeaderBufferLengthBytes(String length) |
void |
setHttp2CleanFrequencyCheck(String cleanFrequencyCheck) |
void |
setHttp2CleanPercentage(String cleanPercentage) |
void |
setHttp2DisableCipherCheck(String disableCipherCheck) |
void |
setHttp2Enabled(String http2Enabled) |
void |
setHttp2InitialWindowSizeInBytes(String initialWindowSizeInBytes) |
void |
setHttp2MaxConcurrentStreams(String maxConcurrentStreams) |
void |
setHttp2MaxFramePayloadSizeInBytes(String maxFramePayloadSizeInBytes) |
void |
setHttp2MaxHeaderListSizeInBytes(String maxHeaderListSizeInBytes) |
void |
setHttp2PushEnabled(String pushEnabled) |
void |
setHttp2StreamsHighWaterMark(String streamsHighWaterMark) |
void |
setJkConfigurationFile(String file) |
void |
setJkEnabled(String enabled) |
void |
setMaxConnections(String max) |
void |
setMaxFormPostSizeBytes(String max) |
void |
setMaxPostSizeBytes(String max) |
void |
setMaxRequestHeaders(String maxRequestHeaders) |
void |
setMaxRequestParameters()
Sets the maximum number of parameters allowed for a request.
|
void |
setMaxResponseHeaders(String maxRequestHeaders) |
void |
setMaxSavePostSizeBytes(String max) |
void |
setMaxSwallowingInputBytes(String max) |
void |
setNoCompressionUserAgents(String agents) |
void |
setRcmSupportEnabled(String enable) |
void |
setRedirectPort(String redirectPort) |
void |
setRemoteUserMapping(String remoteUserMapping) |
void |
setRequestTimeoutSeconds(String timeout) |
void |
setRestrictedUserAgents(String agents) |
void |
setScheme(String scheme) |
void |
setSchemeMapping(String schemeMapping) |
void |
setSendBufferSizeBytes(String size) |
void |
setServerHeader(String serverHeader) |
void |
setServerName(String serverName) |
void |
setTimeoutSeconds(String timeout) |
void |
setTraceEnabled(String enabled) |
void |
setUploadTimeoutEnabled(String disable) |
void |
setUriEncoding(String encoding) |
void |
setWebsocketsSupportEnabled(String enabled) |
void |
setWebsocketsTimeoutSeconds(String timeout) |
void |
setXframeOptions(String xframeOptions) |
void |
setXpoweredBy(String xpoweredBy) |
createChild, deepCopy, getParent
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
static final boolean AUTH_PASS_THROUGH_ENABLED
static final boolean CHUNKING_ENABLED
static final boolean COMET_SUPPORT_ENABLED
static final boolean ENCODED_SLASH_ENABLED
static final boolean DNS_LOOKUP_ENABLED
static final boolean RCM_SUPPORT_ENABLED
static final boolean TIMEOUT_ENABLED
static final boolean TRACE_ENABLED
static final boolean UPLOAD_TIMEOUT_ENABLED
static final boolean WEBSOCKET_SUPPORT_ENABLED
static final boolean XPOWERED_BY
static final boolean SERVER_HEADER
static final boolean XFRAME_OPTIONS
static final boolean ALLOW_PAYLOAD_FOR_UNDEFINED_HTTP_METHODS
static final int COMPRESSION_MIN_SIZE
static final int CONNECTION_UPLOAD_TIMEOUT
static final int HEADER_BUFFER_LENGTH
static final int KEEP_ALIVE_TIMEOUT
static final int MAX_CONNECTIONS
static final int MAX_POST_SIZE
static final int MAX_FORM_POST_SIZE
static final int MAX_SAVE_POST_SIZE
static final long MAX_SWALLOWING_INPUT_BYTES
static final int REQUEST_TIMEOUT
static final int SEND_BUFFER_LENGTH
static final int TIMEOUT
static final int WEBSOCKETS_TIMEOUT
static final int MAX_REQUEST_PARAMETERS
static final int MAX_HEADERS
static final String COMPRESSABLE_MIME_TYPE
static final String COMPRESSION
static final String COMPRESSION_PATTERN
static final String DEFAULT_ADAPTER
static final String URI_ENCODING
static final String SCHEME_PATTERN
static final boolean HTTP2_ENABLED
static final int HTTP2_MAX_CONCURRENT_STREAMS
static final int HTTP2_INITIAL_WINDOW_SIZE_IN_BYTES
static final int HTTP2_MAX_FRAME_PAYLOAD_SIZE_IN_BYTES
static final int HTTP2_MAX_HEADER_LIST_SIZE_IN_BYTES
static final float HTTP2_STREAMS_HIGH_WATER_MARK
static final float HTTP2_CLEAN_PERCENTAGE
static final int HTTP2_CLEAN_FREQUENCY_CHECK
static final boolean HTTP2_DISABLE_CIPHER_CHECK
static final boolean HTTP2_PUSH_ENABLED
String getAdapter()
void setAdapter(String adapter)
String getAuthPassThroughEnabled()
void setAuthPassThroughEnabled(String bool)
String getChunkingEnabled()
void setChunkingEnabled(String enabled)
String getCometSupportEnabled()
void setCometSupportEnabled(String enable)
String getCompressableMimeType()
void setCompressableMimeType(String type)
@Pattern(regexp="on|off|force|\\d+") @Pattern(regexp="on|off|force|\\d+") String getCompression()
void setCompression(String compression)
String getCompressionMinSizeBytes()
void setCompressionMinSizeBytes(String size)
String getConnectionUploadTimeoutMillis()
void setConnectionUploadTimeoutMillis(String timeout)
String getDefaultResponseType()
void setDefaultResponseType(String defaultResponseType)
String getDefaultVirtualServer()
void setDefaultVirtualServer(String defaultVirtualServer)
String getDnsLookupEnabled()
void setDnsLookupEnabled(String enable)
String getEncodedSlashEnabled()
void setEncodedSlashEnabled(String enabled)
@NotNull @NotNull FileCache getFileCache()
void setFileCache(FileCache value)
@Deprecated String getForcedResponseType()
@Deprecated void setForcedResponseType(String forcedResponseType)
String getHeaderBufferLengthBytes()
void setHeaderBufferLengthBytes(String length)
String getMaxConnections()
void setMaxConnections(String max)
String getMaxFormPostSizeBytes()
void setMaxFormPostSizeBytes(String max)
String getMaxPostSizeBytes()
void setMaxPostSizeBytes(String max)
String getMaxSavePostSizeBytes()
void setMaxSavePostSizeBytes(String max)
String getMaxSwallowingInputBytes()
void setMaxSwallowingInputBytes(String max)
String getNoCompressionUserAgents()
void setNoCompressionUserAgents(String agents)
@Deprecated String getRcmSupportEnabled()
void setRcmSupportEnabled(String enable)
@Range(min=0, max=65535) String getRedirectPort()
void setRedirectPort(String redirectPort)
String getRequestTimeoutSeconds()
void setRequestTimeoutSeconds(String timeout)
String getRestrictedUserAgents()
void setRestrictedUserAgents(String agents)
String getSendBufferSizeBytes()
void setSendBufferSizeBytes(String size)
String getServerName()
void setServerName(String serverName)
String getTimeoutSeconds()
void setTimeoutSeconds(String timeout)
String getWebsocketsTimeoutSeconds()
void setWebsocketsTimeoutSeconds(String timeout)
String getTraceEnabled()
void setTraceEnabled(String enabled)
String getUploadTimeoutEnabled()
void setUploadTimeoutEnabled(String disable)
String getUriEncoding()
void setUriEncoding(String encoding)
@Pattern(regexp="http|https") @Pattern(regexp="http|https") String getScheme()
void setScheme(String scheme)
String getSchemeMapping()
void setSchemeMapping(String schemeMapping)
String getRemoteUserMapping()
void setRemoteUserMapping(String remoteUserMapping)
String getWebsocketsSupportEnabled()
void setWebsocketsSupportEnabled(String enabled)
String getJkConfigurationFile()
void setJkConfigurationFile(String file)
String getJkEnabled()
void setJkEnabled(String enabled)
String getMaxRequestParameters()
void setMaxRequestParameters()
String getMaxRequestHeaders()
void setMaxRequestHeaders(String maxRequestHeaders)
String getMaxResponseHeaders()
void setMaxResponseHeaders(String maxRequestHeaders)
String getXpoweredBy()
void setXpoweredBy(String xpoweredBy)
String getServerHeader()
void setServerHeader(String serverHeader)
String getXframeOptions()
void setXframeOptions(String xframeOptions)
String getAllowPayloadForUndefinedHttpMethods()
void setAllowPayloadForUndefinedHttpMethods(String allowPayloadForUndefinedHttpMethods)
String getHttp2Enabled()
void setHttp2Enabled(String http2Enabled)
String getHttp2MaxConcurrentStreams()
void setHttp2MaxConcurrentStreams(String maxConcurrentStreams)
String getHttp2InitialWindowSizeInBytes()
void setHttp2InitialWindowSizeInBytes(String initialWindowSizeInBytes)
String getHttp2MaxFramePayloadSizeInBytes()
void setHttp2MaxFramePayloadSizeInBytes(String maxFramePayloadSizeInBytes)
String getHttp2MaxHeaderListSizeInBytes()
void setHttp2MaxHeaderListSizeInBytes(String maxHeaderListSizeInBytes)
@Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)", message="Must be a valid float between 0 and 1") @Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)",message="Must be a valid float between 0 and 1") String getHttp2StreamsHighWaterMark()
HTTP2_MAX_CONCURRENT_STREAMS
.
The default is 0.5.void setHttp2StreamsHighWaterMark(String streamsHighWaterMark)
@Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)", message="Must be a valid float between 0 and 1") @Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)",message="Must be a valid float between 0 and 1") String getHttp2CleanPercentage()
HTTP2_STREAMS_HIGH_WATER_MARK
is exceeded. Only closed streams will be removed.
The default is 0.5.void setHttp2CleanPercentage(String cleanPercentage)
String getHttp2CleanFrequencyCheck()
HTTP2_STREAMS_HIGH_WATER_MARK
.
The default is 50.void setHttp2CleanFrequencyCheck(String cleanFrequencyCheck)
String getHttp2DisableCipherCheck()
void setHttp2DisableCipherCheck(String disableCipherCheck)
String getHttp2PushEnabled()
void setHttp2PushEnabled(String pushEnabled)
@DuckTyped Protocol getParent()
ConfigBeanProxy
getParent
in interface ConfigBeanProxy
Copyright © 2019. All rights reserved.