EMS.ResourceAPI.TEndpointResponse
Delphi
TEndpointResponse = class
C++
class PASCALIMPLEMENTATION TEndpointResponse : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | EMS.ResourceAPI.pas EMS.ResourceAPI.hpp |
EMS.ResourceAPI | EMS.ResourceAPI |
Description
Represents the response of an EMS resource after handling a request context.
TEndpointResponse provides the following properties to define the response data:
If as a result of the handling of the request context your EMS resource creates a new REST resource, use SetCreated to define the location where EMS client applications can access that new REST resource.
TEndpointResponse provides aliases for many of the methods of the EEMSHTTPError exception type. If you cannot provide a response for the specified request context, use one of these methods to raise a matching exception: