Class PathsConfig.Builder
java.lang.Object
io.helidon.webserver.security.PathsConfig.BuilderBase<PathsConfig.Builder, PathsConfig>
io.helidon.webserver.security.PathsConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<PathsConfig.Builder, PathsConfig>, Builder<PathsConfig.Builder, PathsConfig>, ConfigBuilderSupport.ConfiguredBuilder<PathsConfig.Builder, PathsConfig>, Supplier<PathsConfig>
- Enclosing interface:
PathsConfig
public static class PathsConfig.Builder
extends PathsConfig.BuilderBase<PathsConfig.Builder, PathsConfig>
implements Builder<PathsConfig.Builder, PathsConfig>
Fluent API builder for
PathsConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class PathsConfig.BuilderBase
PathsConfig.BuilderBase.PathsConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class PathsConfig.BuilderBase
addMethod, addMethods, addSockets, clearMethods, clearSockets, config, config, from, from, handler, handler, handler, handler, methods, methods, path, path, preBuildPrototype, sockets, sockets, toString, validatePrototypeModifier and TypeMethodDescriptionHTTP 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.addMethods(List<? extends Method> 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.addSockets(List<String> sockets) Named listeners that should be secured, defaults to the default listener.Clear all methods.Clear all sockets.config()Configuration used to configure this instance.Update builder from configuration (node of this type).from(PathsConfig prototype) Update this builder from an existing prototype instance.from(PathsConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.handler()Security handler configuration for this protected path.handler(SecurityHandler handler) Security handler configuration for this protected path.handler(SecurityHandlerConfig handler) Security handler configuration for this protected path.handler(Consumer<SecurityHandlerConfig.Builder> consumer) Security handler configuration for this protected path.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.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.Path to secure.protected voidHandles providers and decorators.sockets()Named listeners that should be secured, defaults to the default listener.Named listeners that should be secured, defaults to the default listener.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault PathsConfigget()default PathsConfig.Builderidentity()Instance of this builder as the correct type.default PathsConfig.Builderupdate(Consumer<PathsConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault PathsConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<PathsConfig.Builder, PathsConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<PathsConfig.Builder, PathsConfig>- Returns:
- instance of the built type
-