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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceTheApplyMiddleware.Listannotation is used to repeat theApplyMiddlewareannotation. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends Middleware>[]Gets the type of theMiddlewarethat should be applied before running the endpoint.
-
Element Details
-
value
Class<? extends Middleware>[] valueGets the type of theMiddlewarethat should be applied before running the endpoint.- Returns:
- The type of the
Middlewarethat should be applied.
-