Metrics Engine Documentation Index
Configuration Reference Home

HTTP Connection Handler

The HTTP Connection Handler may be used to interact with clients using the HyperText Transport Protocol, used by Web clients and services.

Parent Component
Relations To this Component
Properties
dsconfig Usage

Parent Component

The HTTP Connection Handler component inherits from the Connection Handler

Relations from This Component

The following components have a direct aggregation relation from HTTP Connection Handlers:

Properties

The properties supported by this managed object are as follows:


Basic Properties: Advanced Properties:
↓ description ↓ keep-stats
↓ enabled ↓ accept-backlog
↓ listen-address ↓ allow-tcp-reuse-address
↓ listen-port ↓ idle-time-limit
↓ use-ssl ↓ low-resources-connection-threshold
↓ http-servlet-extension ↓ low-resources-idle-time-limit
↓ web-application-extension ↓ disable-tls-renegotiation
↓ http-operation-log-publisher ↓ enable-multipart-mime-parameters
↓ key-manager-provider
↓ trust-manager-provider
↓ num-request-handlers

Basic Properties

description

Description
A description for this Connection Handler
Default Value
None
Allowed Values
A string
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

enabled

Description
Indicates whether the Connection Handler is enabled.
Default Value
None
Allowed Values
true
false
Multi-Valued
No
Required
Yes
Admin Action Required
None. Modification requires no further action

listen-address

Description
Specifies the address on which to listen for connections from HTTP clients. If no value is defined, the server will listen on all addresses on all interfaces.
Default Value
The server will listen on all addresses on all interfaces.
Allowed Values
An IP address
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

listen-port

Description
Specifies the port number on which the HTTP Connection Handler will listen for connections from clients. Only a single port number may be provided.
Default Value
None
Allowed Values
An integer value. Lower limit is 1. Upper limit is 65535 .
Multi-Valued
No
Required
Yes
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

use-ssl

Description
Indicates whether the HTTP Connection Handler should use SSL. If enabled, the HTTP Connection Handler will use SSL to encrypt communication with the clients.
Default Value
false
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

http-servlet-extension

Description
Specifies information about servlets that will be provided via this connection handler.
Default Value
None
Allowed Values
The DN of any HTTP Servlet Extension.
Multi-Valued
Yes
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

web-application-extension

Description
Specifies information about web applications that will be provided via this connection handler.
Default Value
None
Allowed Values
The DN of any Web Application Extension.
Multi-Valued
Yes
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

http-operation-log-publisher

Description
Specifies the set of HTTP operation loggers that should be used to log information about requests and responses for operations processed through this HTTP Connection Handler.
Default Value
None
Allowed Values
The DN of any HTTP Operation Log Publisher. The associated HTTP operation logger must be enabled.
Multi-Valued
Yes
Required
No
Admin Action Required
None. Modification requires no further action

key-manager-provider

Description
Specifies the key manager provider that will be used to obtain the certificate to present to HTTPS clients. This must be provided if use-ssl is set to true.
Default Value
None
Allowed Values
The DN of any Key Manager Provider. The referenced key manager provider must be enabled if SSL is to be used.
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

trust-manager-provider

Description
Specifies the trust manager provider that will be used to validate any certificates presented by HTTPS clients. This must be provided if use-ssl is set to true.
Default Value
None
Allowed Values
The DN of any Trust Manager Provider. The referenced trust manager provider must be enabled if SSL is to be used.
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

num-request-handlers

Description
Specifies the number of threads that will be used for accepting connections and reading requests from clients. A value of zero will cause the number of request handlers to be based on the number of available CPUs.
Default Value
0
Allowed Values
An integer value. Lower limit is 0.
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect


Advanced Properties

keep-stats (Advanced Property)

Description
Indicates whether to enable statistics collection for this connection handler.
Default Value
true
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

accept-backlog (Advanced Property)

Description
Specifies the number of concurrent outstanding connection attempts that the connection handler should allow. The default value should be acceptable in most cases, but it may need to be increased in environments that may attempt to establish large numbers of connections simultaneously.
Default Value
128
Allowed Values
An integer value. Lower limit is 1.
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

allow-tcp-reuse-address (Advanced Property)

Description
Indicates whether the server should attempt to reuse socket descriptors. This may be useful in environments with a high rate of connection establishment and termination.
Default Value
true
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

idle-time-limit (Advanced Property)

Description
Specifies the maximum idle time for a connection. The max idle time is applied when waiting for a new request to be received on a connection, when reading the headers and content of a request, or when writing the headers and content of a response.
Default Value
200 seconds
Allowed Values
A duration. Lower limit is 1 milliseconds.
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

low-resources-connection-threshold (Advanced Property)

Description
Specifies the number of connections, which if exceeded, places this handler in a low resource state where a different idle time limit is applied on the connections. A value of zero indicates that the idle time limit will always be enforced.
Default Value
0
Allowed Values
An integer value. Lower limit is 0.
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

low-resources-idle-time-limit (Advanced Property)

Description
Specifies the maximum idle time for a connection when this handler is in a low resource state as defined by low-resource-connections. The max idle time is applied when waiting for a new request to be received on a connection, when reading the headers and content of a request, or when writing the headers and content of a response.
Default Value
50 milliseconds
Allowed Values
A duration. Lower limit is 1 milliseconds.
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

disable-tls-renegotiation (Advanced Property)

Description
Indicates whether to disable TLS renegotiation, which is rarely used by legitimate clients but has been used by malicious clients to exploit a vulnerability in some TLS implementations that could allow arbitrary content to be injected at the beginning of an encrypted message.
Default Value
true
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect

enable-multipart-mime-parameters (Advanced Property)

Description
Determines whether request form parameters submitted in multipart/ form-data (RFC 2388) format should be processed as request parameters. Most web applications use the "application/x-url-encoded" method to submit form parameters in a compact format, e.g. param1=value1¶m2=value2. There is no opportunity to apply differing charsets, content-types or transfer-encodings as described in RFC 2388. Enabling multipart-mime form parameter processing allows the form parameters above to be expressed as named parts with greater content control in HTTP servlet extensions. Form processing in web application extensions is unaffected. This is an example of a multipart/form entity:
Content-Type: multipart/form-data; boundary=separator

--separator
content-disposition: form-data; name="param1"
content-type: text/plain;charset=utf-8
content-transfer-encoding: 8bit

value1
--separator
content-disposition: form-data; name="param2"
content-type: text/plain;charset=windows-1250
content-transfer-encoding: quoted-printable

value2
--separator--
Default Value
false
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
The HTTP Connection Handler must be disabled and re-enabled for changes to this setting to take effect. This modification requires that you disable and then re-enable this component for the change to take effect


dsconfig Usage

To list the configured Connection Handlers:

dsconfig list-connection-handlers
     [--property {propertyName}] ...

To view the configuration for an existing Connection Handler:

dsconfig get-connection-handler-prop
     --handler-name {name}
     [--tab-delimited]
     [--script-friendly]
     [--property {propertyName}] ...

To update the configuration for an existing Connection Handler:

dsconfig set-connection-handler-prop
     --handler-name {name}
     (--set|--add|--remove) {propertyName}:{propertyValue}
     [(--set|--add|--remove) {propertyName}:{propertyValue}] ...

To create a new HTTP Connection Handler:

dsconfig create-connection-handler
     --handler-name {name}
     --type http
     --set enabled:{propertyValue}
     --set listen-port:{propertyValue}
     [--set {propertyName}:{propertyValue}] ...

To delete an existing Connection Handler:

dsconfig delete-connection-handler
     --handler-name {name}