Class ListenerConfig.BuilderBase.ListenerConfigImpl

java.lang.Object
io.helidon.webserver.ListenerConfig.BuilderBase.ListenerConfigImpl
All Implemented Interfaces:
Prototype.Api, ListenerConfig
Direct Known Subclasses:
WebServerConfig.BuilderBase.WebServerConfigImpl
Enclosing class:
ListenerConfig.BuilderBase<BUILDER extends ListenerConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ListenerConfig>

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

    • ListenerConfigImpl

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

    • protocols

      public List<ProtocolConfig> protocols()
    • routing

      public Optional<HttpRouting.Builder> routing()
    • routings

      public List<Builder<?,? extends Routing>> routings()
    • name

      public String name()
    • host

      public String host()
    • address

      public InetAddress address()
    • port

      public int port()
    • backlog

      public int backlog()
    • maxPayloadSize

      public long maxPayloadSize()
    • receiveBufferSize

      public Optional<Integer> receiveBufferSize()
    • writeQueueLength

      public int writeQueueLength()
    • smartAsyncWrites

      public boolean smartAsyncWrites()
    • writeBufferSize

      public int writeBufferSize()
    • shutdownGracePeriod

      public Duration shutdownGracePeriod()
    • connectionConfig

      public Optional<ConnectionConfig> connectionConfig()
    • tls

      public Optional<Tls> tls()
    • contentEncoding

      public Optional<ContentEncodingContext> contentEncoding()
    • mediaContext

      public Optional<MediaContext> mediaContext()
    • connectionOptions

      public SocketOptions connectionOptions()
    • maxTcpConnections

      public int maxTcpConnections()
    • maxConcurrentRequests

      public int maxConcurrentRequests()
    • concurrencyLimit

      public Optional<Limit> concurrencyLimit()
    • idleConnectionTimeout

      public Duration idleConnectionTimeout()
    • idleConnectionPeriod

      public Duration idleConnectionPeriod()
    • maxInMemoryEntity

      public int maxInMemoryEntity()
    • listenerSocketOptions

      public Map<SocketOption<?>,Object> listenerSocketOptions()
    • connectionSelectors

      public List<ServerConnectionSelector> connectionSelectors()
    • directHandlers

      public Optional<DirectHandlers> directHandlers()
    • listenerContext

      public Optional<Context> listenerContext()
    • enableProxyProtocol

      public boolean enableProxyProtocol()
    • requestedUriDiscoveryContext

      public Optional<RequestedUriDiscoveryContext> requestedUriDiscoveryContext()
    • 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
    • configureSocket

      default void configureSocket(ServerSocket socket)
      Update the server socket with configured socket options.
      Parameters:
      socket - socket to update