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