java.lang.Object
io.helidon.webserver.cors.CorsSupportBase.Builder<ServerRequest,ServerResponse,CorsSupport,CorsSupport.Builder>
io.helidon.webserver.cors.CorsSupport.Builder
- All Implemented Interfaces:
Builder<CorsSupport.Builder,
,CorsSupportBase<ServerRequest, ServerResponse, CorsSupport, CorsSupport.Builder>> Supplier<CorsSupportBase<ServerRequest,
ServerResponse, CorsSupport, CorsSupport.Builder>>
- Enclosing class:
- CorsSupport
public static class CorsSupport.Builder
extends CorsSupportBase.Builder<ServerRequest,ServerResponse,CorsSupport,CorsSupport.Builder>
Fluent API builder for
CorsSupport
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.protected CorsSupport.Builder
me()
Methods inherited from class io.helidon.webserver.cors.CorsSupportBase.Builder
addCrossOrigin, addCrossOrigin, allowCredentials, allowHeaders, allowMethods, allowOrigins, config, enabled, exposeHeaders, mappedConfig, maxAgeSeconds, name, requestDefaultBehaviorIfNone, secondaryLookupSupplier
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<CorsSupport.Builder,
CorsSupportBase<ServerRequest, ServerResponse, CorsSupport, CorsSupport.Builder>> - Specified by:
build
in classCorsSupportBase.Builder<ServerRequest,
ServerResponse, CorsSupport, CorsSupport.Builder> - Returns:
- instance of the built type
-
me
- Specified by:
me
in classCorsSupportBase.Builder<ServerRequest,
ServerResponse, CorsSupport, CorsSupport.Builder>
-