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