com.HttpServiceRequest.getRequestPart

Returns the HttpPart object at the specified index position.

Syntax

getRequestPart(
   pos INTEGER)
  RETURNS com.HttpPart
  1. pos defines the index position.

Usage

Returns the HttpPart object at the specified index position. The file part is stored in the temporary directory as defined by the DVM environment or the system. If the DVM DBTEMP environment variable is set, this is used. Otherwise the temporary directory as defined by the system is used. On Windows® the system temporary directory is set by TEMP. On UNIX® the /tmp directory is used.

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).

Can raise error -15554 (Index is out of bounds).