Oracle9iAS Portal Developer Kit

get_default_proxy function

Contained in package wwctx_api_proxy.

Call this function to return the default proxy, as specified in the proxy settings.

The default proxy is used for all non-provider HTTP connections made by Portal. Administrators can choose one proxy as the default proxy.

function get_default_proxy

return proxy_info;

Version: Oracle9iAS Portal 9.0.2 or later

Returns:

This function returns a proxy_info record, containing information about the default proxy.

Exceptions:

  • If the proxy is not found, PROXY_NOT_FOUND_EXCEPTION is raised.

  • If an unknown error occurs, PROXY_GENERAL_EXCEPTION is raised.

Example:

l_proxy_info wwctx_api_proxy.proxy_info;
l_proxy_info := wwctx_api_proxy.get_default_proxy;

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio