com.HTTPServiceRequest.getURL
Returns the URL of the HTTP service request. The URL may consists of a host name, a port number, a path, and a query.
Syntax
getURL()
RETURNS STRING
Usage
The getURL()
method returns the entire URL request containing the host, port,
document and query string.
In case of error, the method throws an exception and sets the
STATUS
variable. Depending on the error, a human-readable description of the
problem is available in the SQLCA.SQLERRM
register. See Error handling in GWS calls (STATUS).
URLs are sent in UTF-8 on the network. If the query part of the URL cannot be converted from UTF-8 to the fglrun locale charset, STATUS will be set to -15552. Is this case, the document part of the URL is available, but the query string must be retrieved through HTTPServiceRequest.readFormEncodedRequest(). As a general advice, run your WS server program in UTF-8.