Middleware Interceptor - getheimdall/heimdall GitHub Wiki

Definition

The Middleware interceptor is a more powerful version of the [Custom Interceptor]]. A more comprehensive explanation of what is, when and how to use a Middleware can be found [here.

Details

Middleware

Name: Simple name for your interceptor

Description: A simple description for your interceptor

Life Cycle: The appropriate life cycle for the interceptor

  • Life cycles allowed:
    • Api
    • Plan
    • Resource
    • Operation

Content: Configuration of the interceptor

The complete path to the class that should run when the interceptor is called.

Example:

For the MiddlewareGET.java class that is in the org.company package the content of the interceptor should be:

org.company.MiddlewareGET