Enum Class HttpResponseUtil.StatusConvertMode

java.lang.Object
java.lang.Enum<HttpResponseUtil.StatusConvertMode>
nablarch.fw.web.handler.HttpResponseUtil.StatusConvertMode
All Implemented Interfaces:
Serializable, Comparable<HttpResponseUtil.StatusConvertMode>, Constable
Enclosing class:
HttpResponseUtil

public static enum HttpResponseUtil.StatusConvertMode extends Enum<HttpResponseUtil.StatusConvertMode>
HTTPレスポンスコードの変換方法。
  • Enum Constant Details

    • CONVERT_ALL_TO_200

      public static final HttpResponseUtil.StatusConvertMode CONVERT_ALL_TO_200
      Nablarchのステータスコードを、HTTPレスポンスコード200に変換する(例外的に300系は除く)。
    • CONVERT_ONLY_400_TO_200

      public static final HttpResponseUtil.StatusConvertMode CONVERT_ONLY_400_TO_200
      Nablarchのステータスコード400のみ、HTTPレスポンスコード200に変換する。
  • Method Details

    • values

      public static HttpResponseUtil.StatusConvertMode[] 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 HttpResponseUtil.StatusConvertMode 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