com.HTTPResponse.getPartCount

Returns the number of additional parts in the HTTP response.

Syntax

getPartCount()
  RETURNING count INTEGER

Usage

Returns the number of additional parts in the HTTP response. The root part element must be handled via getXmlResponse(), getTextResponse(), getDataResponse() and beginXmlResponse(). In other words, there are getPartCount() +1 parts if getMultipartType() does not return NULL.