Class SocketOptions.BuilderBase.SocketOptionsImpl

java.lang.Object
io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
All Implemented Interfaces:
Prototype.Api, SocketOptions
Enclosing class:
SocketOptions.BuilderBase<BUILDER extends SocketOptions.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends SocketOptions>

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

    • SocketOptionsImpl

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

    • socketOptions

      public Map<SocketOption<?>,Object> socketOptions()
    • connectTimeout

      public Duration connectTimeout()
    • readTimeout

      public Duration readTimeout()
    • socketReceiveBufferSize

      public Optional<Integer> socketReceiveBufferSize()
    • socketSendBufferSize

      public Optional<Integer> socketSendBufferSize()
    • socketReuseAddress

      public boolean socketReuseAddress()
    • socketKeepAlive

      public boolean socketKeepAlive()
    • tcpNoDelay

      public boolean tcpNoDelay()
    • 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(Socket socket)
      Configure socket with defined socket options.
      Parameters:
      socket - socket to update