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