This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

HTTP Endpoint (httpEndpoint)

Configuration properties for an HTTP endpoint.

Attribute name Data type Default value Description
accessLoggingRef A reference to top level httpAccessLogging element (string).   HTTP access logging configuration for the endpoint.
enabled boolean true Toggle the availability of an endpoint. When true, this endpoint will be activated by the dispatcher to handle HTTP requests.
host string localhost IP address, domain name server (DNS) host name with domain name suffix, or just the DNS host name, used by a client to request a resource. Use '*' for all available network interfaces.
httpOptionsRef A reference to top level httpOptions element (string). defaultHttpOptions HTTP protocol options for the endpoint.
httpPort int

Minimum: -1

Maximum: 65535

  The port used for client HTTP requests. Use -1 to disable this port.
httpsPort int

Minimum: -1

Maximum: 65535

  The port used for client HTTP requests secured with SSL (https). Use -1 to disable this port.
id string   A unique configuration ID.
onError
  • IGNORE
  • FAIL
  • WARN
WARN Action to take after a failure to start an endpoint.
IGNORE
Server will not issue any warning and error messages when it incurs a configuration error.
FAIL
Server will issue a warning or error message on the first error occurrence and then stop the server.
WARN
Server will issue warning and error messages when it incurs a configuration error.
sslOptionsRef A reference to top level sslOptions element (string).   SSL protocol options for the endpoint.
tcpOptionsRef A reference to top level tcpOptions element (string). defaultTCPOptions TCP protocol options for the endpoint.
accessLogging
Description: HTTP access logging configuration for the endpoint.
Required: false
Data type:
Attribute name Data type Default value Description
enabled boolean true Enable access logging.
filePath Path to a file ${server.output.dir}/logs/http_access.log Directory path and name of the access log file. Standard variable substitutions, such as ${server.output.dir}, can be used when specifying the directory path.
logFormat string %h %u %{t}W "%r" %s %b Specifies the log format that is used when logging client access information.
maxFileSize int

Minimum: 0

20 Maximum size of a log file, in megabytes, before being rolled over; a value of 0 means no limit.
maxFiles int

Minimum: 0

2 Maximum number of log files that will be kept, before the oldest file is removed; a value of 0 means no limit.
httpOptions
Description: HTTP protocol options for the endpoint.
Required: false
Data type:
Attribute name Data type Default value Description
keepAliveEnabled boolean true Enables persistent connections (HTTP keepalive). If true, connections are kept alive for reuse by multiple sequential requests and responses. If false, connections are closed after the response is sent.
maxKeepAliveRequests int

Minimum: -1

100 Maximum number of persistent requests that are allowed on a single HTTP connection if persistent connections are enabled. A value of -1 means unlimited.
persistTimeout A period of time with second precision 30s Amount of time that a socket will be allowed to remain idle between requests. This setting only applies if persistent connections are enabled. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds.
readTimeout A period of time with second precision 60s Amount of time to wait for a read request to complete on a socket after the first read occurs. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds.
removeServerHeader boolean false Removes server implementation information from HTTP headers and also disables the default Liberty profile welcome page.
writeTimeout A period of time with second precision 60s Amount of time to wait on a socket for each portion of the response data to be transmitted. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds.
sslOptions
Description: SSL protocol options for the endpoint.
Required: false
Data type:
Attribute name Data type Default value Description
sessionTimeout A period of time with second precision 1d Amount of time to wait for a read or write request to complete on a socket. This value is overridden by protocol-specific timeouts. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), or seconds (s). For example, specify 30 seconds as 30s. You can include multiple values in a single entry. For example, 1m30s is equivalent to 90 seconds.
sslRef A reference to top level ssl element (string).   The default SSL configuration repertoire. The default value is defaultSSLSettings.
suppressHandshakeErrors boolean false Disable logging of SSL handshake errors. SSL handshake errors can occur during normal operation, however these messages can be useful when SSL is behaving unexpectedly.
tcpOptions
Description: TCP protocol options for the endpoint.
Required: false
Data type:
Attribute name Data type Default value Description
inactivityTimeout A period of time with millisecond precision 60s Amount of time to wait for a read or write request to complete on a socket. This value is overridden by protocol-specific timeouts. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), seconds (s), or milliseconds (ms). For example, specify 500 milliseconds as 500ms. You can include multiple values in a single entry. For example, 1s500ms is equivalent to 1.5 seconds.
soReuseAddr boolean true Enables immediate rebind to a port with no active listener.

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=rwlp_config_httpEndpoint
File name: rwlp_config_httpEndpoint.html