com.HttpServiceRequest.addResponsePart

Adds a new part to the HTTP root part response.

Syntax

addResponsePart(
   part com.HttpPart)
  1. part defines com.HttpPart used to manage the HTTP attachment.

Usage

Adds a new part to the HTTP root part response. It will be sent after root part has been processed.

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