Enum Class HttpErrorCode

java.lang.Object
java.lang.Enum<HttpErrorCode>
org.prebid.mobile.http.HttpErrorCode
All Implemented Interfaces:
Serializable, Comparable<HttpErrorCode>, Constable

public enum HttpErrorCode extends Enum<HttpErrorCode>
  • Enum Constant Details

    • CONNECTION_FAILURE

      public static final HttpErrorCode CONNECTION_FAILURE
    • URI_SYNTAX_ERROR

      public static final HttpErrorCode URI_SYNTAX_ERROR
    • NO_HTTP_RESPONSE

      public static final HttpErrorCode NO_HTTP_RESPONSE
    • HTTP_PROTOCOL_ERROR

      public static final HttpErrorCode HTTP_PROTOCOL_ERROR
    • TRANSPORT_ERROR

      public static final HttpErrorCode TRANSPORT_ERROR
    • UNKNOWN_ERROR

      public static final HttpErrorCode UNKNOWN_ERROR
  • Method Details

    • values

      public static HttpErrorCode[] 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 HttpErrorCode 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