- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
PathsConfig.BuilderBase.PathsConfigImpl
Configuration of a single path security setup.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forPathsConfig.static classPathsConfig.BuilderBase<BUILDER extends PathsConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends PathsConfig> Fluent API builder base forPathsConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathsConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static PathsConfig.Builderbuilder(PathsConfig instance) Create a new fluent API builder from an existing instance.static PathsConfigDeprecated.static PathsConfigCreate a new instance from configuration.handler()Security handler configuration for this protected path.methods()HTTP methods to match when applying this configured path.path()Path to secure.sockets()Named listeners that should be secured, defaults to the default listener.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
methods
HTTP methods to match when applying this configured path.- Returns:
- list of methods to secure
-
path
String path()Path to secure. Uses the same rules as Helidon WebServer.- Returns:
- path to secure
-
sockets
Named listeners that should be secured, defaults to the default listener.- Returns:
- sockets to secure
-
handler
SecurityHandler handler()Security handler configuration for this protected path.- Returns:
- security handler
-
create(io.helidon.config.Config)