com.HttpResponse.getPartCount
Returns the number of additional parts in the HTTP response.
Syntax
getPartCount()
RETURNS 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.
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).