public final class CorsDecoratorFactoryFunction extends Object implements DecoratorFactoryFunction<CorsDecorator>
CorsService decorator when only one CorsDecorator is added.| Constructor and Description |
|---|
CorsDecoratorFactoryFunction() |
| Modifier and Type | Method and Description |
|---|---|
Function<? super HttpService,? extends HttpService> |
newDecorator(CorsDecorator parameter)
Creates a new decorator with the specified
parameter. |
public Function<? super HttpService,? extends HttpService> newDecorator(CorsDecorator parameter)
DecoratorFactoryFunctionparameter.newDecorator in interface DecoratorFactoryFunction<CorsDecorator>Copyright © 2020 LeanCloud. All rights reserved.