java.lang.Object
io.helidon.webserver.cors.CorsConfig.BuilderBase<CorsConfig.Builder,CorsConfig>
io.helidon.webserver.cors.CorsConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<CorsConfig.Builder,
,CorsConfig> Prototype.ConfiguredBuilder<CorsConfig.Builder,
,CorsConfig> Builder<CorsConfig.Builder,
,CorsFeature> Supplier<CorsFeature>
- Enclosing interface:
CorsConfig
public static class CorsConfig.Builder
extends CorsConfig.BuilderBase<CorsConfig.Builder,CorsConfig>
implements Builder<CorsConfig.Builder,CorsFeature>
Fluent API builder for
CorsFeature
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.webserver.cors.CorsConfig.BuilderBase
CorsConfig.BuilderBase.CorsConfigImpl
-
Method Summary
Methods inherited from class io.helidon.webserver.cors.CorsConfig.BuilderBase
addSocket, addSockets, config, config, enabled, enabled, from, from, name, name, preBuildPrototype, sockets, sockets, toString, validatePrototype, weight, weight
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
self
Methods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.Builder
Create an instance of thePrototype
. This method is available on all generated builders forPrototype.Blueprint
.- Specified by:
buildPrototype
in interfacePrototype.Builder<CorsConfig.Builder,
CorsConfig> - Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<CorsConfig.Builder,
CorsFeature> - Returns:
- instance of the built type
-