Annotation Interface ApplyMiddleware


@Documented @Repeatable(List.class) @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface ApplyMiddleware
Annotation to set specific middlewares to be used before the endpoint is performed.
Since:
3.4.0-SNAPSHOT
  • Element Details

    • value

      Class<? extends Middleware>[] value
      Gets the type of the Middleware that should be applied before running the endpoint.
      Returns:
      The type of the Middleware that should be applied.