Annotation Type Decorator
@Repeatable(Decorators.class) @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Decorator
Specifies a
DecoratingHttpServiceFunction
class which handles an HttpRequest
before invoking
an annotated service method.-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends DecoratingHttpServiceFunction>
value
DecoratingHttpServiceFunction
implementation type. -
Optional Element Summary
-
Element Details
-
value
Class<? extends DecoratingHttpServiceFunction> valueDecoratingHttpServiceFunction
implementation type. The specified class must have an accessible default constructor.
-
-