Class PathsConfig.BuilderBase.PathsConfigImpl
java.lang.Object
io.helidon.webserver.security.PathsConfig.BuilderBase.PathsConfigImpl
- All Implemented Interfaces:
Prototype.Api, PathsConfig
- Enclosing class:
PathsConfig.BuilderBase<BUILDER extends PathsConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends PathsConfig>
protected static class PathsConfig.BuilderBase.PathsConfigImpl
extends Object
implements PathsConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PathsConfig
PathsConfig.Builder, PathsConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forPathsConfig.static classPathsConfig.BuilderBase<BUILDER extends PathsConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends PathsConfig>Fluent API builder base forPathsConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPathsConfigImpl(PathsConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandler()Security handler configuration for this protected path.inthashCode()methods()HTTP methods to match exactly when applying this configured path; non-uppercase known methods also match their uppercase names and log a warning that this compatibility will be removed in a future major version.path()Path to secure.sockets()Named listeners that should be secured, defaults to the default listener.toString()
-
Constructor Details
-
PathsConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
methods
Description copied from interface:PathsConfigHTTP methods to match exactly when applying this configured path; non-uppercase known methods also match their uppercase names and log a warning that this compatibility will be removed in a future major version. Configuration retains each exact method name and also matches its uppercase form when that form is a knownHTTP method. For example, configuredgetmatches bothgetandGET, but notGet. Custom methods such asFollowremain case-sensitive. Non-uppercase known methods produce a warning: automatic uppercasing will be removed in a future major version. Use uppercase names for known methods in configuration. Programmatically supplied methods are matched exactly.- Specified by:
methodsin interfacePathsConfig- Returns:
- list of methods to secure
-
path
Description copied from interface:PathsConfigPath to secure. Uses the same rules as Helidon WebServer.- Specified by:
pathin interfacePathsConfig- Returns:
- path to secure
-
sockets
Description copied from interface:PathsConfigNamed listeners that should be secured, defaults to the default listener.- Specified by:
socketsin interfacePathsConfig- Returns:
- sockets to secure
-
handler
Description copied from interface:PathsConfigSecurity handler configuration for this protected path.- Specified by:
handlerin interfacePathsConfig- Returns:
- security handler
-
toString
-
equals
-
hashCode
-