Previous Topic

Next Topic

Book Contents

Book Index

HTTP Plain Server Configuration

The Managed Service Factory with FPID mbs.http.plain provides the following configuration properties for creating other configuration instances:

Configuration Property

Name

Type

Default Value

Description

address

IP Address

String[]

127.0.0.1

Optional. Local IP addresses the HTTP server will bind to. Useful for systems with several IP addresses.

maxusers

Max Users

int

50

The greatest number of users that simultaneously contact the HTTP Service on one of its ports. This property must be a value between 1 and 65535.

on

On

boolean

true

Optional. Indicates if the HTTP server should be started or stopped.

persistentconnection

PersistentConnection

boolean

true

The Persistent connection radio buttons impose persistent connections with HTTP clients. When set to false the HTTP Bundle closes the connection after each response.

port

Port

int

80

The port allocated for HTTP requests. It must be a number between 1 and 65535.

requesttimeout

Request Timeout

int

30

The timeout in seconds for keeping alive the connection. This property must be a value between 0 and 300.

responsetimeout

Response Timeout

int

0

Time period in seconds necessary to write out 1KB of data to the HTTP client. If the timeout expires before writing the data, connection is closed. This property value must be a number between 0 and 300. Default value is 0, which means that there will be no blocking when writing output data.

secondaryport

Secondary Port

int

8080

Optional. If the primary port is overloaded or is already reserved for another type of communication, the secondary port is used to carry the incoming and outgoing traffic. This property is available only for plain connection type. It must be a number between 1 and 65535. The default value is 8080.

name

Name

String

default

Optional. If you want to register another HTTP Service, use this property to specify its name. The default value is default.

additionalPorts

-

int[]

<secondary port>

Optional. If you want to add some additional ports for the default HTTP Service, use this property. By default, it is equal to the secondary port.