Module java.base
Package java.net

Interface SocketOption<T>

    • Method Summary

      Modifier and Type Method Description
      String name()
      Returns the name of the socket option.
      Class<T> type()
      Returns the type of the socket option value.
    • 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