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.
  • Constructor Details

    • PathsConfigImpl

      protected PathsConfigImpl(PathsConfig.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • methods

      public List<Method> methods()
      Description copied from interface: PathsConfig
      HTTP methods to match when applying this configured path.
      Specified by:
      methods in interface PathsConfig
      Returns:
      list of methods to secure
    • path

      public String path()
      Description copied from interface: PathsConfig
      Path to secure. Uses the same rules as Helidon WebServer.
      Specified by:
      path in interface PathsConfig
      Returns:
      path to secure
    • sockets

      public List<String> sockets()
      Description copied from interface: PathsConfig
      Named listeners that should be secured, defaults to the default listener.
      Specified by:
      sockets in interface PathsConfig
      Returns:
      sockets to secure
    • handler

      public SecurityHandler handler()
      Description copied from interface: PathsConfig
      Security handler configuration for this protected path.
      Specified by:
      handler in interface PathsConfig
      Returns:
      security handler
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object