Enum Class HttpClientParams

java.lang.Object
java.lang.Enum<HttpClientParams>
org.kuali.rice.ksb.messaging.serviceconnectors.HttpClientParams
All Implemented Interfaces:
Serializable, Comparable<HttpClientParams>, Constable

public enum HttpClientParams extends Enum<HttpClientParams>
Contains some utility methods for dealing with configuration of the HttpComponents HttpClient.

To limit the impact of transitioning from Commons HttpClient to HttpComponents, certain legacy parameters (namely, those that map over directly) are enumerated in this class. There are methods here to help retrieve those config param values as well.

NOTE: The full list of supported parameters can be found in the source for this class.

Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Enum Constant Details

  • Method Details

    • values

      public static HttpClientParams[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HttpClientParams valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public <T> T getValue()
    • getValueOrDefault

      public <T> T getValueOrDefault(T defaultValue)
    • getParamName

      public String getParamName()
    • getParamValueClass

      public Class getParamValueClass()