Module java.base
Package java.net

Interface SocketOption<T>

    • Method Detail

      • name

        String name()
        Returns the name of the socket option.
        Returns:
        the name of the socket option
      • type

        Class<T> type()
        Returns the type of the socket option value.
        Returns:
        the type of the socket option value