Class SocketSupport

java.lang.Object
org.apache.hc.core5.io.SocketSupport

@Internal @Deprecated public class SocketSupport extends Object
Deprecated.
Do not use.
Since:
5.3
  • Field Details

  • Constructor Details

    • SocketSupport

      public SocketSupport()
      Deprecated.
  • Method Details

    • getExtendedSocketOptionOrNull

      public static <T> SocketOption<T> getExtendedSocketOptionOrNull(String fieldName)
      Deprecated.
    • setOption

      public static <T> void setOption(T object, String fieldName, T value) throws IOException
      Deprecated.
      Object can be ServerSocket or Socket.
      Type Parameters:
      T - ServerSocket or Socket.
      Throws:
      IOException - in case of an I/O error.