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, weightMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
selfMethods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.BuilderCreate an instance of thePrototype. This method is available on all generated builders forPrototype.Blueprint.- Specified by:
buildPrototypein interfacePrototype.Builder<CorsConfig.Builder,CorsConfig> - Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<CorsConfig.Builder,CorsFeature> - Returns:
- instance of the built type
-