com.HttpServiceRequest.hasRequestKeepConnection

Returns TRUE if the connection remains open after sending a response.

Syntax

hasRequestKeepConnection()
  RETURNS INTEGER

Usage

The hasRequestKeepConnection() method returns 1 (TRUE) if the request expects the connection to stay open after sending the 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).