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.
@FunctionalInterface public interface DecoratorFactoryFunction<T extends Annotation>
A decorator factory which is used for a user-defined decorator annotation.
-
Method Summary
Modifier and Type Method Description Function<? super HttpService,? extends HttpService>
newDecorator(T parameter)
Creates a new decorator with the specifiedparameter
.
-
Method Details
-
newDecorator
Creates a new decorator with the specifiedparameter
.
-