public interface Http
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.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() |
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() |
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
|
Http2 |
getHttp2() |
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() |
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() |
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.
|
Spdy |
getSpdy() |
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 |
getVersion()
The version of the HTTP protocol used by the HTTP Service
|
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 |
setHttp2(Http2 value) |
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 |
setSpdy(Spdy value) |
void |
setTimeoutSeconds(String timeout) |
void |
setTraceEnabled(String enabled) |
void |
setUploadTimeoutEnabled(String disable) |
void |
setUriEncoding(String encoding) |
void |
setVersion(String version) |
void |
setWebsocketsSupportEnabled(String enabled) |
void |
setWebsocketsTimeoutSeconds(String timeout) |
void |
setXframeOptions(String xframeOptions) |
void |
setXpoweredBy(String xpoweredBy) |
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 VERSION
static final String SCHEME_PATTERN
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+") 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 FileCache getFileCache()
void setFileCache(FileCache value)
Spdy getSpdy()
void setSpdy(Spdy value)
Http2 getHttp2()
void setHttp2(Http2 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)
String getVersion()
void setVersion(String version)
@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)
@DuckTyped Protocol getParent()
getParent in interface org.jvnet.hk2.config.ConfigBeanProxyCopyright © 2017. All rights reserved.