Package org.glassfish.grizzly.config.dom
Interface Http
-
- All Superinterfaces:
ConfigBeanProxy,PropertyBag
public interface Http extends ConfigBeanProxy, PropertyBag
Created Jan 8, 2009- Author:
- Justin Lee
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHttp.Duck
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetAdapter()StringgetAllowPayloadForUndefinedHttpMethods()StringgetAuthPassThroughEnabled()Enable pass through of authentication from any front-end serverStringgetChunkingEnabled()StringgetCometSupportEnabled()Enable comet support for this http instance.StringgetCompressableMimeType()@Pattern(regexp="on|off|force|\\d+") StringgetCompression()StringgetCompressionLevel()StringgetCompressionMinSizeBytes()@Pattern(regexp="Filtered|Default|Huffman Only|\\d+") StringgetCompressionStrategy()StringgetConnectionUploadTimeoutMillis()StringgetDefaultResponseType()Setting the default response-type.StringgetDefaultVirtualServer()The id attribute of the default virtual server for this particular connection group.StringgetDnsLookupEnabled()StringgetEncodedSlashEnabled()@NotNull FileCachegetFileCache()Gets the value of the fileCache property.StringgetForcedResponseType()Deprecated.StringgetHeaderBufferLengthBytes()The size of the buffer used by the request processing threads for reading the request dataStringgetHttp2CleanFrequencyCheck()The number of streams that must be closed before checking if the number of streams exceeds theHTTP2_STREAMS_HIGH_WATER_MARK.@Pattern(regexp="[01](?:(?=\\.)\\.\\d+f?|f?)",message="Must be a valid float between 0 and 1") StringgetHttp2CleanPercentage()The number of streams to process when theHTTP2_STREAMS_HIGH_WATER_MARKis exceeded.StringgetHttp2DisableCipherCheck()Controls whether or not insecure cipher suites are allowed to establish TLS connections.StringgetHttp2Enabled()Controls whether or not HTTP/2 is enabled.StringgetHttp2InitialWindowSizeInBytes()Configures the initial window size in bytes.StringgetHttp2MaxConcurrentStreams()Configures the number of concurrent streams allowed per HTTP2 connection.StringgetHttp2MaxFramePayloadSizeInBytes()Configures the maximum size of the HTTP2 frame payload to be accepted.StringgetHttp2MaxHeaderListSizeInBytes()Configures the maximum size, in bytes, of the header list.StringgetHttp2PushEnabled()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") StringgetHttp2StreamsHighWaterMark()Streams are periodically cleaned when the stream count exceeds this value, as a proportion of theHTTP2_MAX_CONCURRENT_STREAMS.StringgetJkConfigurationFile()StringgetJkEnabled()If true, a jk listener is enabledStringgetMaxConnections()Max number of connection in the Keep Alive modeStringgetMaxFormPostSizeBytes()StringgetMaxPostSizeBytes()StringgetMaxRequestHeaders()Returns the maximum number of headers allowed for a request.StringgetMaxRequestParameters()Returns the maximum number of parameters allowed per request.StringgetMaxResponseHeaders()Returns the maximum number of headers allowed for a response.StringgetMaxSavePostSizeBytes()StringgetMaxSwallowingInputBytes()StringgetNoCompressionUserAgents()ProtocolgetParent()Returns the parent element of this configuration element.StringgetRcmSupportEnabled()Deprecated.StringgetRedirectPort()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 hereStringgetRemoteUserMapping()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.StringgetRequestTimeoutSeconds()Time after which the request times out in secondsStringgetRestrictedUserAgents()@Pattern(regexp="http|https") StringgetScheme()The HTTP scheme (http or https) to override HTTP request scheme picked up by Grizzly or web-container during HTTP request processing.StringgetSchemeMapping()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.StringgetSendBufferSizeBytes()Size of the buffer for response bodies in bytesStringgetServerHeader()StringgetServerName()Tells the server what to put in the host name section of any URLs it sends to the client.StringgetTimeoutSeconds()Keep Alive timeout, max time a connection can be deemed as idle and kept in the keep-alive stateStringgetTraceEnabled()StringgetUploadTimeoutEnabled()StringgetUriEncoding()StringgetWebsocketsSupportEnabled()StringgetWebsocketsTimeoutSeconds()Max time a connection may be idle before being closed.StringgetXframeOptions()StringgetXpoweredBy()The Servlet 2.4 spec defines a special X-Powered-By: Servlet/2.4 header, which containers may add to servlet-generated responses.voidsetAdapter(String adapter)voidsetAllowPayloadForUndefinedHttpMethods(String allowPayloadForUndefinedHttpMethods)voidsetAuthPassThroughEnabled(String bool)voidsetChunkingEnabled(String enabled)voidsetCometSupportEnabled(String enable)voidsetCompressableMimeType(String type)voidsetCompression(String compression)voidsetCompressionLevel(String level)voidsetCompressionMinSizeBytes(String size)voidsetCompressionStrategy(String compressionStrategy)voidsetConnectionUploadTimeoutMillis(String timeout)voidsetDefaultResponseType(String defaultResponseType)voidsetDefaultVirtualServer(String defaultVirtualServer)voidsetDnsLookupEnabled(String enable)voidsetEncodedSlashEnabled(String enabled)voidsetFileCache(FileCache value)voidsetForcedResponseType(String forcedResponseType)Deprecated.voidsetHeaderBufferLengthBytes(String length)voidsetHttp2CleanFrequencyCheck(String cleanFrequencyCheck)voidsetHttp2CleanPercentage(String cleanPercentage)voidsetHttp2DisableCipherCheck(String disableCipherCheck)voidsetHttp2Enabled(String http2Enabled)voidsetHttp2InitialWindowSizeInBytes(String initialWindowSizeInBytes)voidsetHttp2MaxConcurrentStreams(String maxConcurrentStreams)voidsetHttp2MaxFramePayloadSizeInBytes(String maxFramePayloadSizeInBytes)voidsetHttp2MaxHeaderListSizeInBytes(String maxHeaderListSizeInBytes)voidsetHttp2PushEnabled(String pushEnabled)voidsetHttp2StreamsHighWaterMark(String streamsHighWaterMark)voidsetJkConfigurationFile(String file)voidsetJkEnabled(String enabled)voidsetMaxConnections(String max)voidsetMaxFormPostSizeBytes(String max)voidsetMaxPostSizeBytes(String max)voidsetMaxRequestHeaders(String maxRequestHeaders)voidsetMaxRequestParameters()Sets the maximum number of parameters allowed for a request.voidsetMaxResponseHeaders(String maxRequestHeaders)voidsetMaxSavePostSizeBytes(String max)voidsetMaxSwallowingInputBytes(String max)voidsetNoCompressionUserAgents(String agents)voidsetRcmSupportEnabled(String enable)voidsetRedirectPort(String redirectPort)voidsetRemoteUserMapping(String remoteUserMapping)voidsetRequestTimeoutSeconds(String timeout)voidsetRestrictedUserAgents(String agents)voidsetScheme(String scheme)voidsetSchemeMapping(String schemeMapping)voidsetSendBufferSizeBytes(String size)voidsetServerHeader(String serverHeader)voidsetServerName(String serverName)voidsetTimeoutSeconds(String timeout)voidsetTraceEnabled(String enabled)voidsetUploadTimeoutEnabled(String disable)voidsetUriEncoding(String encoding)voidsetWebsocketsSupportEnabled(String enabled)voidsetWebsocketsTimeoutSeconds(String timeout)voidsetXframeOptions(String xframeOptions)voidsetXpoweredBy(String xpoweredBy)-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
Field Detail
-
AUTH_PASS_THROUGH_ENABLED
static final boolean AUTH_PASS_THROUGH_ENABLED
- See Also:
- Constant Field Values
-
CHUNKING_ENABLED
static final boolean CHUNKING_ENABLED
- See Also:
- Constant Field Values
-
COMET_SUPPORT_ENABLED
static final boolean COMET_SUPPORT_ENABLED
- See Also:
- Constant Field Values
-
ENCODED_SLASH_ENABLED
static final boolean ENCODED_SLASH_ENABLED
- See Also:
- Constant Field Values
-
DNS_LOOKUP_ENABLED
static final boolean DNS_LOOKUP_ENABLED
- See Also:
- Constant Field Values
-
RCM_SUPPORT_ENABLED
static final boolean RCM_SUPPORT_ENABLED
- See Also:
- Constant Field Values
-
TIMEOUT_ENABLED
static final boolean TIMEOUT_ENABLED
- See Also:
- Constant Field Values
-
TRACE_ENABLED
static final boolean TRACE_ENABLED
- See Also:
- Constant Field Values
-
UPLOAD_TIMEOUT_ENABLED
static final boolean UPLOAD_TIMEOUT_ENABLED
- See Also:
- Constant Field Values
-
WEBSOCKET_SUPPORT_ENABLED
static final boolean WEBSOCKET_SUPPORT_ENABLED
- See Also:
- Constant Field Values
-
XPOWERED_BY
static final boolean XPOWERED_BY
- See Also:
- Constant Field Values
-
SERVER_HEADER
static final boolean SERVER_HEADER
- See Also:
- Constant Field Values
-
XFRAME_OPTIONS
static final boolean XFRAME_OPTIONS
- See Also:
- Constant Field Values
-
ALLOW_PAYLOAD_FOR_UNDEFINED_HTTP_METHODS
static final boolean ALLOW_PAYLOAD_FOR_UNDEFINED_HTTP_METHODS
- See Also:
- Constant Field Values
-
COMPRESSION_MIN_SIZE
static final int COMPRESSION_MIN_SIZE
- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL
static final int COMPRESSION_LEVEL
- See Also:
- Constant Field Values
-
CONNECTION_UPLOAD_TIMEOUT
static final int CONNECTION_UPLOAD_TIMEOUT
- See Also:
- Constant Field Values
-
HEADER_BUFFER_LENGTH
static final int HEADER_BUFFER_LENGTH
- See Also:
- Constant Field Values
-
KEEP_ALIVE_TIMEOUT
static final int KEEP_ALIVE_TIMEOUT
- See Also:
- Constant Field Values
-
MAX_CONNECTIONS
static final int MAX_CONNECTIONS
- See Also:
- Constant Field Values
-
MAX_POST_SIZE
static final int MAX_POST_SIZE
- See Also:
- Constant Field Values
-
MAX_FORM_POST_SIZE
static final int MAX_FORM_POST_SIZE
- See Also:
- Constant Field Values
-
MAX_SAVE_POST_SIZE
static final int MAX_SAVE_POST_SIZE
- See Also:
- Constant Field Values
-
MAX_SWALLOWING_INPUT_BYTES
static final long MAX_SWALLOWING_INPUT_BYTES
- See Also:
- Constant Field Values
-
REQUEST_TIMEOUT
static final int REQUEST_TIMEOUT
- See Also:
- Constant Field Values
-
SEND_BUFFER_LENGTH
static final int SEND_BUFFER_LENGTH
- See Also:
- Constant Field Values
-
TIMEOUT
static final int TIMEOUT
- See Also:
- Constant Field Values
-
WEBSOCKETS_TIMEOUT
static final int WEBSOCKETS_TIMEOUT
- See Also:
- Constant Field Values
-
MAX_REQUEST_PARAMETERS
static final int MAX_REQUEST_PARAMETERS
- See Also:
- Constant Field Values
-
MAX_HEADERS
static final int MAX_HEADERS
- See Also:
- Constant Field Values
-
COMPRESSABLE_MIME_TYPE
static final String COMPRESSABLE_MIME_TYPE
- See Also:
- Constant Field Values
-
COMPRESSION
static final String COMPRESSION
- See Also:
- Constant Field Values
-
COMPRESSION_PATTERN
static final String COMPRESSION_PATTERN
- See Also:
- Constant Field Values
-
COMPRESSION_STRATEGY
static final String COMPRESSION_STRATEGY
- See Also:
- Constant Field Values
-
COMPRESSION_STRATEGY_PATTERN
static final String COMPRESSION_STRATEGY_PATTERN
- See Also:
- Constant Field Values
-
DEFAULT_ADAPTER
static final String DEFAULT_ADAPTER
- See Also:
- Constant Field Values
-
URI_ENCODING
static final String URI_ENCODING
- See Also:
- Constant Field Values
-
SCHEME_PATTERN
static final String SCHEME_PATTERN
- See Also:
- Constant Field Values
-
HTTP2_ENABLED
static final boolean HTTP2_ENABLED
- See Also:
- Constant Field Values
-
HTTP2_MAX_CONCURRENT_STREAMS
static final int HTTP2_MAX_CONCURRENT_STREAMS
- See Also:
- Constant Field Values
-
HTTP2_INITIAL_WINDOW_SIZE_IN_BYTES
static final int HTTP2_INITIAL_WINDOW_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
HTTP2_MAX_FRAME_PAYLOAD_SIZE_IN_BYTES
static final int HTTP2_MAX_FRAME_PAYLOAD_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
HTTP2_MAX_HEADER_LIST_SIZE_IN_BYTES
static final int HTTP2_MAX_HEADER_LIST_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
HTTP2_STREAMS_HIGH_WATER_MARK
static final float HTTP2_STREAMS_HIGH_WATER_MARK
- See Also:
- Constant Field Values
-
HTTP2_CLEAN_PERCENTAGE
static final float HTTP2_CLEAN_PERCENTAGE
- See Also:
- Constant Field Values
-
HTTP2_CLEAN_FREQUENCY_CHECK
static final int HTTP2_CLEAN_FREQUENCY_CHECK
- See Also:
- Constant Field Values
-
HTTP2_DISABLE_CIPHER_CHECK
static final boolean HTTP2_DISABLE_CIPHER_CHECK
- See Also:
- Constant Field Values
-
HTTP2_PUSH_ENABLED
static final boolean HTTP2_PUSH_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAdapter
String getAdapter()
-
setAdapter
void setAdapter(String adapter)
-
getAuthPassThroughEnabled
String getAuthPassThroughEnabled()
Enable pass through of authentication from any front-end server
-
setAuthPassThroughEnabled
void setAuthPassThroughEnabled(String bool)
-
getChunkingEnabled
String getChunkingEnabled()
-
setChunkingEnabled
void setChunkingEnabled(String enabled)
-
getCometSupportEnabled
String getCometSupportEnabled()
Enable comet support for this http instance. The default for this is false until enabling comet support but not using it can be verified as harmless. Currently it is unclear what the performance impact of enabling this feature is.
-
setCometSupportEnabled
void setCometSupportEnabled(String enable)
-
getCompressableMimeType
String getCompressableMimeType()
-
setCompressableMimeType
void setCompressableMimeType(String type)
-
getCompression
@Pattern(regexp="on|off|force|\\d+") @Pattern(regexp="on|off|force|\\d+") String getCompression()
-
setCompression
void setCompression(String compression)
-
getCompressionLevel
String getCompressionLevel()
-
setCompressionLevel
void setCompressionLevel(String level)
-
getCompressionStrategy
@Pattern(regexp="Filtered|Default|Huffman Only|\\d+") @Pattern(regexp="Filtered|Default|Huffman Only|\\d+") String getCompressionStrategy()
-
setCompressionStrategy
void setCompressionStrategy(String compressionStrategy)
-
getCompressionMinSizeBytes
String getCompressionMinSizeBytes()
-
setCompressionMinSizeBytes
void setCompressionMinSizeBytes(String size)
-
getConnectionUploadTimeoutMillis
String getConnectionUploadTimeoutMillis()
-
setConnectionUploadTimeoutMillis
void setConnectionUploadTimeoutMillis(String timeout)
-
getDefaultResponseType
String getDefaultResponseType()
Setting the default response-type. Specified as a semi-colon delimited string consisting of content-type, encoding, language, charset
-
setDefaultResponseType
void setDefaultResponseType(String defaultResponseType)
-
getDefaultVirtualServer
String getDefaultVirtualServer()
The id attribute of the default virtual server for this particular connection group.
-
setDefaultVirtualServer
void setDefaultVirtualServer(String defaultVirtualServer)
-
getDnsLookupEnabled
String getDnsLookupEnabled()
-
setDnsLookupEnabled
void setDnsLookupEnabled(String enable)
-
getEncodedSlashEnabled
String getEncodedSlashEnabled()
-
setEncodedSlashEnabled
void setEncodedSlashEnabled(String enabled)
-
getFileCache
@NotNull @NotNull FileCache getFileCache()
Gets the value of the fileCache property.
-
setFileCache
void setFileCache(FileCache value)
-
getForcedResponseType
@Deprecated String getForcedResponseType()
Deprecated.The response type to be forced if the content served cannot be matched by any of the MIME mappings for extensions. Specified as a semi-colon delimited string consisting of content-type, encoding, language, charset
-
setForcedResponseType
@Deprecated void setForcedResponseType(String forcedResponseType)
Deprecated.
-
getHeaderBufferLengthBytes
String getHeaderBufferLengthBytes()
The size of the buffer used by the request processing threads for reading the request data
-
setHeaderBufferLengthBytes
void setHeaderBufferLengthBytes(String length)
-
getMaxConnections
String getMaxConnections()
Max number of connection in the Keep Alive mode
-
setMaxConnections
void setMaxConnections(String max)
-
getMaxFormPostSizeBytes
String getMaxFormPostSizeBytes()
-
setMaxFormPostSizeBytes
void setMaxFormPostSizeBytes(String max)
-
getMaxPostSizeBytes
String getMaxPostSizeBytes()
-
setMaxPostSizeBytes
void setMaxPostSizeBytes(String max)
-
getMaxSavePostSizeBytes
String getMaxSavePostSizeBytes()
-
setMaxSavePostSizeBytes
void setMaxSavePostSizeBytes(String max)
-
getMaxSwallowingInputBytes
String getMaxSwallowingInputBytes()
-
setMaxSwallowingInputBytes
void setMaxSwallowingInputBytes(String max)
-
getNoCompressionUserAgents
String getNoCompressionUserAgents()
-
setNoCompressionUserAgents
void setNoCompressionUserAgents(String agents)
-
getRcmSupportEnabled
@Deprecated String getRcmSupportEnabled()
Deprecated.
-
setRcmSupportEnabled
void setRcmSupportEnabled(String enable)
-
getRedirectPort
@Range(min=0, max=65535) 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
-
setRedirectPort
void setRedirectPort(String redirectPort)
-
getRequestTimeoutSeconds
String getRequestTimeoutSeconds()
Time after which the request times out in seconds
-
setRequestTimeoutSeconds
void setRequestTimeoutSeconds(String timeout)
-
getRestrictedUserAgents
String getRestrictedUserAgents()
-
setRestrictedUserAgents
void setRestrictedUserAgents(String agents)
-
getSendBufferSizeBytes
String getSendBufferSizeBytes()
Size of the buffer for response bodies in bytes
-
setSendBufferSizeBytes
void setSendBufferSizeBytes(String size)
-
getServerName
String getServerName()
Tells the server what to put in the host name section of any URLs it sends to the client. This affects URLs the server automatically generates; it doesn't affect the URLs for directories and files stored in the server. This name should be the alias name if your server uses an alias. If you append a colon and port number, that port will be used in URLs the server sends to the client.
-
setServerName
void setServerName(String serverName)
-
getTimeoutSeconds
String getTimeoutSeconds()
Keep Alive timeout, max time a connection can be deemed as idle and kept in the keep-alive state
-
setTimeoutSeconds
void setTimeoutSeconds(String timeout)
-
getWebsocketsTimeoutSeconds
String getWebsocketsTimeoutSeconds()
Max time a connection may be idle before being closed.- Since:
- 2.1.5
-
setWebsocketsTimeoutSeconds
void setWebsocketsTimeoutSeconds(String timeout)
-
getTraceEnabled
String getTraceEnabled()
-
setTraceEnabled
void setTraceEnabled(String enabled)
-
getUploadTimeoutEnabled
String getUploadTimeoutEnabled()
-
setUploadTimeoutEnabled
void setUploadTimeoutEnabled(String disable)
-
getUriEncoding
String getUriEncoding()
-
setUriEncoding
void setUriEncoding(String encoding)
-
getScheme
@Pattern(regexp="http|https") @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.
-
setScheme
void setScheme(String scheme)
-
getSchemeMapping
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.
-
setSchemeMapping
void setSchemeMapping(String schemeMapping)
-
getRemoteUserMapping
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.
-
setRemoteUserMapping
void setRemoteUserMapping(String remoteUserMapping)
-
getWebsocketsSupportEnabled
String getWebsocketsSupportEnabled()
-
setWebsocketsSupportEnabled
void setWebsocketsSupportEnabled(String enabled)
-
getJkConfigurationFile
String getJkConfigurationFile()
-
setJkConfigurationFile
void setJkConfigurationFile(String file)
-
getJkEnabled
String getJkEnabled()
If true, a jk listener is enabled
-
setJkEnabled
void setJkEnabled(String enabled)
-
getMaxRequestParameters
String getMaxRequestParameters()
Returns the maximum number of parameters allowed per request. If the value less than zero, then there will be no limit on parameters. If not explicitly configured, this returns 10000.- Returns:
- the maximum number of parameters or 10000 if not explicitly configured.
- Since:
- 2.2.8
-
setMaxRequestParameters
void setMaxRequestParameters()
Sets the maximum number of parameters allowed for a request. If the value is zero or less, then there will be no limit on parameters.- Since:
- 2.2.8
-
getMaxRequestHeaders
String getMaxRequestHeaders()
Returns the maximum number of headers allowed for a request.- Since:
- 2.2.11
-
setMaxRequestHeaders
void setMaxRequestHeaders(String maxRequestHeaders)
-
getMaxResponseHeaders
String getMaxResponseHeaders()
Returns the maximum number of headers allowed for a response.- Since:
- 2.2.11
-
setMaxResponseHeaders
void setMaxResponseHeaders(String maxRequestHeaders)
-
getXpoweredBy
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. This is complemented by the JSP 2.0 spec, which defines a X-Powered-By: JSP/2.0 header to be added (on an optional basis) to responses utilizing JSP technology. The goal of these headers is to aid in gathering statistical data about the use of Servlet and JSP technology. If true, these headers will be added.
-
setXpoweredBy
void setXpoweredBy(String xpoweredBy)
-
getServerHeader
String getServerHeader()
-
setServerHeader
void setServerHeader(String serverHeader)
-
getXframeOptions
String getXframeOptions()
-
setXframeOptions
void setXframeOptions(String xframeOptions)
-
getAllowPayloadForUndefinedHttpMethods
String getAllowPayloadForUndefinedHttpMethods()
- Returns:
- true, if payload will be allowed for HTTP methods, for which spec doesn't state explicitly if payload allowed or not.
- Since:
- 4.2
-
setAllowPayloadForUndefinedHttpMethods
void setAllowPayloadForUndefinedHttpMethods(String allowPayloadForUndefinedHttpMethods)
-
getHttp2Enabled
String getHttp2Enabled()
Controls whether or not HTTP/2 is enabled. The default is true.- Returns:
-
setHttp2Enabled
void setHttp2Enabled(String http2Enabled)
-
getHttp2MaxConcurrentStreams
String getHttp2MaxConcurrentStreams()
Configures the number of concurrent streams allowed per HTTP2 connection. The default is 100.
-
setHttp2MaxConcurrentStreams
void setHttp2MaxConcurrentStreams(String maxConcurrentStreams)
-
getHttp2InitialWindowSizeInBytes
String getHttp2InitialWindowSizeInBytes()
Configures the initial window size in bytes. The default is 64K - 1.
-
setHttp2InitialWindowSizeInBytes
void setHttp2InitialWindowSizeInBytes(String initialWindowSizeInBytes)
-
getHttp2MaxFramePayloadSizeInBytes
String getHttp2MaxFramePayloadSizeInBytes()
Configures the maximum size of the HTTP2 frame payload to be accepted. The default is 2^24 - 1.
-
setHttp2MaxFramePayloadSizeInBytes
void setHttp2MaxFramePayloadSizeInBytes(String maxFramePayloadSizeInBytes)
-
getHttp2MaxHeaderListSizeInBytes
String getHttp2MaxHeaderListSizeInBytes()
Configures the maximum size, in bytes, of the header list. The default is 4096.
-
setHttp2MaxHeaderListSizeInBytes
void setHttp2MaxHeaderListSizeInBytes(String maxHeaderListSizeInBytes)
-
getHttp2StreamsHighWaterMark
@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()Streams are periodically cleaned when the stream count exceeds this value, as a proportion of theHTTP2_MAX_CONCURRENT_STREAMS. The default is 0.5.
-
setHttp2StreamsHighWaterMark
void setHttp2StreamsHighWaterMark(String streamsHighWaterMark)
-
getHttp2CleanPercentage
@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()The number of streams to process when theHTTP2_STREAMS_HIGH_WATER_MARKis exceeded. Only closed streams will be removed. The default is 0.5.
-
setHttp2CleanPercentage
void setHttp2CleanPercentage(String cleanPercentage)
-
getHttp2CleanFrequencyCheck
String getHttp2CleanFrequencyCheck()
The number of streams that must be closed before checking if the number of streams exceeds theHTTP2_STREAMS_HIGH_WATER_MARK. The default is 50.
-
setHttp2CleanFrequencyCheck
void setHttp2CleanFrequencyCheck(String cleanFrequencyCheck)
-
getHttp2DisableCipherCheck
String getHttp2DisableCipherCheck()
Controls whether or not insecure cipher suites are allowed to establish TLS connections. The default is false.
-
setHttp2DisableCipherCheck
void setHttp2DisableCipherCheck(String disableCipherCheck)
-
getHttp2PushEnabled
String getHttp2PushEnabled()
Controls whether or not push is allowed by the server endpoints. The default is true.
-
setHttp2PushEnabled
void setHttp2PushEnabled(String pushEnabled)
-
getParent
@DuckTyped Protocol getParent()
Description copied from interface:ConfigBeanProxyReturns the parent element of this configuration element. It is possible to return a not null parent while the parent knows nothing of this child element. This could happen when the child element was removed from the configuration tree, yet it's parent would not have been reset.- Specified by:
getParentin interfaceConfigBeanProxy- Returns:
- the parent configuration node.
-
-