Interface DecoratorFactoryFunction<T extends Annotation>
- All Known Implementing Classes:
CorsDecoratorFactoryFunction
,CorsDecoratorsFactoryFunction
,LoggingDecoratorFactoryFunction
,RateLimitingDecoratorFactoryFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A decorator factory which is used for a user-defined decorator annotation.
-
Method Summary
Modifier and TypeMethodDescriptionFunction<? super HttpService,
? extends HttpService> newDecorator
(T parameter) Creates a new decorator with the specifiedparameter
.
-
Method Details
-
newDecorator
Creates a new decorator with the specifiedparameter
.
-