ResourceResponse object

The ResourceResponse object can obtain the response information of the protected resource request, including the HTTP response headers and the protected resource returned from the server.

Properties

ResourceResponse property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control


Functions

ResourceResponse function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetBody

Integer

Gets the response body into string.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetHeader

String

Gets the response header by name.

GetHeaders

String

Gets the header of all responses by name.

GetHttpVersion

String

Gets the HTTP protocol version used in communication.

GetParent

PowerObject

Returns a reference to the name of the parent object.

GetStatusCode

Long

Gets the response status code.

GetStatusText

String

Gets the response status description.

TypeOf

Object

Returns the type of the object.