Neokernel API

HTTPRedirectAgent.initProps Method

Initializes default values for the following Props:

service_name
The name this agent uses to register with Service Manager. The default value is http_redirect.agent.
redirect_file
The path to the file where redirect mappings are specified. Defaults to ./http.redirect
check_interval
Specifies the time to wait (in millisecs) between checking to see if the redirect target servers are up. Defaults to 300000
initial_wait_time
Specifies the time to wait after startup (in millisecs) before checking to see if the redirect target servers are up. Defaults to 600000
check_hosts
If set to true, the HTTPRedirectAgent will check every check_interval milliseconds to ensure that servers handling redirects are up. If one goes down, requests are not redirected to that server until it comes back online. Defaults to true
default_port
Specifies the port to redirect requests on. Defaults to 80

public override void initProps();

Implements

AgentInterface.initProps

See Also

HTTPRedirectAgent Class | com.neokernel.httpd Namespace