Progress
Open Client
Developer’s Guide


Methods For Specifying a Proxy Server

You use the following methods if a Proxy Web server exists between the client and the Web server hosting AIA.

These methods provide Proxy Web server support to an Open Client application:

SYNTAX
RunTimeProperties.setProxyHost(String hostname) 

Sets the Proxy Web server host to the value specified with hostname. This value can be a string with either the DNS name of the Proxy Web server or its dot-formatted IP address.

SYNTAX
RunTimeProperties.setProxyPort(int port) 

Sets the Proxy server port to the value specified with port. This value can be an integer from 1 to 65536.

SYNTAX
RunTimeProperties.setProxyUserID(String proxyAccountName) 

Sets the Proxy server user to the value specified with AccountName. This value can be string of up to 512 printable ASCIII characters.

SYNTAX
RunTimeProperties.setProxyPassword(String proxy AccountPassword) 

Sets the Proxy server password to the value specified with AccountPassword. This value can be a string of up to 512 printable ASCII characters.

SYNTAX
String RunTimeProperties.getProxyHost() 

Retrieves the current Proxy Web server hostname.

SYNTAX
int RunTimeProperties.getProxyPort() 

Retrieves the current Proxy Web server port number.

SYNTAX
String RunTimeProperties.getProxyUserId() 

Retrieves the current Proxy Web server user id.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095