The HTTPPart class / com.HTTPPart methods |
Returns the HTTP part as a BYTE.
Returns the HTTP part as a BYTE. BYTE data cannot be returned from a function with a RETURN statement. Therefore, the BYTE parameter must be handled by reference.
To be used via methods: com.HTTPResponse.getPart, com.HTTPResponse.getPartCount, and com.HTTPResponse.getPartFromContentID
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).
The error -15573 is raised if the part cannot be converted to a Genero BYTE.