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.
ResourceResponse property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control |
ResourceResponse function |
Datatype returned |
Description |
---|---|---|
ClassName in PowerScript Reference |
String |
Returns the name assigned to the object. |
GetBody in PowerScript Reference |
Integer |
Gets the response body into string. |
GetContextService in PowerScript Reference |
Integer |
Creates a reference to a context-specific instance of the specified service. |
GetHeader in PowerScript Reference |
String |
Gets the response header by name. |
GetHeaders in PowerScript Reference |
String |
Gets the header of all responses by name. |
GetParent in PowerScript Reference |
PowerObject |
Returns a reference to the name of the parent object. |
GetStatusCode in PowerScript Reference |
Long |
Gets the response status code. |
GetStatusText in PowerScript Reference |
String |
Gets the response status description. |
TypeOf in PowerScript Reference |
Object |
Returns the type of the object. |