JadeRestService Class
A transient instance of a subclass of a
The constants defined in the
JadeRestService Class Constant | Value | Exceptions are in... |
---|---|---|
EncryptionAlg_HS256 | String = "HS256" | HS256 encryption algorithm used for signing JSON Web Tokens |
EncryptionAlg_HS384 | String = "HS384" | HS384 encryption algorithm used for signing JSON Web Tokens |
EncryptionAlg_HS512 | String = "HS512" | HS512 encryption algorithm used for signing JSON Web Tokens |
EncryptionAlg_RS256 | String = "RS256" | RS256 encryption algorithm used for signing JSON Web Tokens |
OutputFormat_Json | Integer = 0 | JSON (Microsoft JSON) format |
OutputFormat_Xml | Integer = 1 | XML format (the default) |
OutputFormat_Json_NewtonSoft | Integer = 2 | JSONN (NewtonSoft JSON) format |
ServerVariable_AllHttp | String = "ALL_HTTP" | Used as a parameter to the |
ServerVariable_AllRaw | String = "ALL_RAW" | Used as a parameter to the |
ShadowMethodPrefix | String = "s__" | Prefix prepended by Jade to the beginning of a REST API method to create a shadow method, responsible for the association of required claims with that method |
The properties defined in the
Property | Contains the … |
---|---|
|
Output format used at run time to generate REST service call exceptions |
|
HTTP status code error returned to the client |
|
Array for non-shared transient objects to be deleted when the REST method has completed |
The methods defined in the
Method | Description |
---|---|
Passes files created by a Jade application to the jadehttp library | |
Deletes specified files from the virtual directory used by the jadehttp library | |
|
Returns an Integer value that represents the output format |
|
Returns the bearer token from the Authorization: Bearer HTTP header of the incoming REST request |
|
Returns the secret with which to validate symmetrically‑signed tokens |
|
Returns the specified HTTP header information for your REST service request from the Internet Information Server (IIS) |
|
Gets the name of the method targeted by the incoming REST request |
Returns true if the specified file is present in the virtual directory used by the jadehttp library | |
|
Processes the received message |
|
Sends the returned value from the called method to the client |
|
Returns true if the method is a valid shadow method of a REST service method |
|
Validates a JSON Web Token against the required claims associated with the specified method |
For details, see "