com.HTTPResponse.getPart

Returns the HTTP part object at the specified index of the current HTTP response.

Syntax

getPart(
   pos INTEGER )
  RETURNS com.HTTPPart
  1. pos is input parameter that specifies the index number.

Usage

Returns the HTTP part object at the specified index of the current HTTP response.

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