JadeRestService Methods

The methods defined in the JadeRestService class are summarized in the following table.

Method Description
addReponseHeaderField Adds an HTTP header field for an individual Direct REST response
createVirtualDirectoryFile Passes files created by a Jade application to the jadehttp library (applies only to legacy IIS REST services)
deleteVirtualDirectoryFile Deletes specified files from the virtual directory used by the jadehttp library (applies only to legacy IIS REST services)
fetchJWT Returns the bearer token from the Authorization: Bearer HTTP header of the incoming REST request
fetchSecret Returns the secret with which to validate symmetrically‑signed tokens
getOutputFormat Returns an Integer value that represents the output format
getServerVariable Returns the specified HTTP header information for your REST service request from IIS
getTargetMethod Gets the name of the method targeted by the incoming REST request
isVDFilePresent Returns true if the specified file is present in the virtual directory used by the jadehttp library (applies only to legacy IIS REST services)
processRequest Processes the received message
reply Sends the returned value from the called method to the client
replyBinary Sends the returned value from the called method in Direct REST responses to the client as a binary payload; for example, an image or audio file
validateShadowMethod Returns true if the method is a valid shadow method of a REST service method
validateToken Validates a JSON Web Token against the required claims associated with the specified method