Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace QueryParameterValidationRequestPolicy

Validate the URL query parameters on the incoming API requests on a specific route.

Properties

Optional parameters

Optional validationMode

validationMode: ValidationMode

Validation behavior mode.

In {@code ENFORCING} mode, upon a validation failure, the request will be rejected with a 4xx response and not sent to the backend.

In {@code PERMISSIVE} mode, the result of the validation will be exposed as metrics while the request will follow the normal path.

{@code DISABLED} type turns the validation off.

Functions

getDeserializedJsonObj

getJsonObj