Enum Class OutboundErrorType

java.lang.Object
java.lang.Enum<OutboundErrorType>
com.netflix.zuul.exception.OutboundErrorType
All Implemented Interfaces:
ErrorType, Serializable, Comparable<OutboundErrorType>, Constable

public enum OutboundErrorType extends Enum<OutboundErrorType> implements ErrorType
Outbound Error Type Author: Arthur Gonigberg Date: November 28, 2017
  • Enum Constant Details

  • Method Details

    • values

      public static OutboundErrorType[] 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 OutboundErrorType 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
    • getStatusCodeToReturn

      public int getStatusCodeToReturn()
      Specified by:
      getStatusCodeToReturn in interface ErrorType
    • getStatusCategory

      public StatusCategory getStatusCategory()
      Specified by:
      getStatusCategory in interface ErrorType
    • getClientErrorType

      public com.netflix.client.ClientException.ErrorType getClientErrorType()
      Specified by:
      getClientErrorType in interface ErrorType
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OutboundErrorType>