APIs to access call data

For the Groovy policies to be of value, they obviously need to be able to access the information relating to the API call. This is solved by providing several java interfaces that can be invoked by Groovy without needing an import statement. These APIs are common to both the Groovy approach and the Java approach for building the API policies.

The following table describes the roles of the key interfaces and classes and how they can be used:

Class/Interface

Description

Interface ApiRequest

The ApiRequest object. Defines an object to provide information about an incoming API request. The ApiRequest object provides data including parameter name and values, attributes, the body of the message, as well as additional ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.