Class WsConfig.BuilderBase.WsConfigImpl

java.lang.Object
io.helidon.webserver.websocket.WsConfig.BuilderBase.WsConfigImpl
All Implemented Interfaces:
Prototype.Api, NamedService, ProtocolConfig, WsConfig
Enclosing class:
WsConfig.BuilderBase<BUILDER extends WsConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends WsConfig>

protected static class WsConfig.BuilderBase.WsConfigImpl extends Object implements WsConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • WsConfigImpl

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

    • origins

      public Set<String> origins()
      Description copied from interface: WsConfig
      WebSocket origins.
      Specified by:
      origins in interface WsConfig
      Returns:
      origins
    • name

      public String name()
      Description copied from interface: WsConfig
      Name of this configuration.
      Specified by:
      name in interface NamedService
      Specified by:
      name in interface WsConfig
      Returns:
      configuration name
    • maxFrameLength

      public int maxFrameLength()
      Description copied from interface: WsConfig
      Max WebSocket frame size supported by the server on a read operation. Default is 1 MB.
      Specified by:
      maxFrameLength in interface WsConfig
      Returns:
      max frame size to read
    • 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
    • type

      default String type()
      Protocol configuration type.
      Specified by:
      type in interface NamedService
      Returns:
      type of this configuration