Skip to content

Middleware Interceptor

Marcelo Aguiar Rodrigues edited this page Nov 1, 2018 · 2 revisions

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

Clone this wiki locally