Oracle9iAS Portal Developer Kit

is_proxy_required function

Contained in package wwctx_api.

Call this function to check whether proxy is required for a URL.

This function indicates whether or not the specified URL has a host name which is in the 'No Proxy' list. If the host name is not in the 'No Proxy' list, a proxy server is required and passed to utl_http.request.

function is_proxy_required
(

p_url in varchar2

)
return boolean;

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

p_url

The URL to be checked.

Datatype: in varchar2

Returns:

This function returns TRUE if the specified URL requires proxy, FALSE otherwise.

Exceptions:

This function raises no user-defined exceptions.

Example:

v_required := wwctx_api.is_proxy_required
(

p_url => 'http://portal.oracle.com:3000/pls/portal30'

);

Related topics

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