EMS.Services.IEMSResourceResponseContent Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AddRefpublicIncrements the reference count for this interface.
GetArraypublicReturns the response content as an instance of TJSONArray if the response content is a valid JSON array. It raises an exception otherwise.
GetBytespublicReturns the response content as an instance of TBytes if the response content is not empty. It raises an exception otherwise.
GetContentTypepublicGetter of ContentType.
GetObjectpublicReturns the response content as an instance of TJSONObject if the response content is a valid JSON object. It raises an exception otherwise.
GetStatusCodepublicGetter of StatusCode.
GetStreampublicReturns the response content as an instance of TStream if the response content is not empty. It raises an exception otherwise.
GetValuepublicReturns the response content as an instance of TJSONValue if the response content is a valid JSON value. It raises an exception otherwise.
QueryInterfacepublicReturns a reference to a specified interface if the object supports that interface.
ReleasepublicDecrements the reference count for this interface.
SupportspublicIndicates whether a given interface supports a specific (another) interface.
TryGetArraypublicIf the response content is a valid JSON array, TryGetArray fills AJSONArray with the response content as an instance of TJSONArray and returns True. TryGetArray returns False otherwise.
TryGetBytespublicIf the response content is not empty, TryGetBytes fills ABytes with the response content as an instance of TBytes and returns True. TryGetBytes returns False otherwise.
TryGetObjectpublicIf the response content is a valid JSON object, TryGetObject fills AJSONObject with the response content as an instance of TJSONObject and returns True. TryGetObject returns False otherwise.
TryGetStreampublicIf the response content is not empty, TryGetStream fills AStream with the response content as an instance of TStream and returns True. TryGetStream returns False otherwise.
TryGetValuepublicIf the response content is a valid JSON value, TryGetValue fills AJSONValue with the response content as an instance of TJSONValue and returns True. TryGetValue returns False otherwise.