Module io.helidon.webserver.cors
Package io.helidon.webserver.cors
Class CorsConfig.BuilderBase.CorsConfigImpl
java.lang.Object
io.helidon.webserver.cors.CorsConfig.BuilderBase.CorsConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<CorsFeature>
,CorsConfig
,Supplier<CorsFeature>
- Enclosing class:
CorsConfig.BuilderBase<BUILDER extends CorsConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends CorsConfig>
protected static class CorsConfig.BuilderBase.CorsConfigImpl
extends Object
implements CorsConfig, Supplier<CorsFeature>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.cors.CorsConfig
CorsConfig.Builder, CorsConfig.BuilderBase<BUILDER extends CorsConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends CorsConfig> -
Constructor Summary
ModifierConstructorDescriptionprotected
CorsConfigImpl
(CorsConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
CorsConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<CorsFeature>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<CorsFeature>
-
weight
public double weight() -
sockets
-
name
-
enabled
public boolean enabled() -
config
-
toString
-
equals
-
hashCode
public int hashCode()
-