com.HTTPResponse.getHeaderCount

Returns the number of headers.

Syntax

getHeaderCount()
  RETURNING result INTEGER

Usage

The getHeaderCount() method retruns the number of headers of the HTTP response.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.