public static enum Response.Status.Family extends EnumSE<Response.Status.Family>
列挙型定数と説明 |
---|
CLIENT_ERROR 4xx HTTP ステータスコード。 |
INFORMATIONAL 1xx HTTP ステータスコード。 |
OTHER その他の認識されない HTTP ステータスコード。 |
REDIRECTION 3xx HTTP ステータスコード。 |
SERVER_ERROR 5xx HTTP ステータスコード。 |
SUCCESSFUL 2xx HTTP ステータスコード。 |
修飾子と型 | メソッドと説明 |
---|---|
static Response.Status.Family | familyOf(int statusCode) ステータスコードのレスポンスステータスファミリを取得します。 |
static Response.Status.Family | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static Response.Status.Family[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final Response.Status.Family INFORMATIONAL
1xx
HTTP ステータスコード。public static final Response.Status.Family SUCCESSFUL
2xx
HTTP ステータスコード。public static final Response.Status.Family REDIRECTION
3xx
HTTP ステータスコード。public static final Response.Status.Family CLIENT_ERROR
4xx
HTTP ステータスコード。public static final Response.Status.Family SERVER_ERROR
5xx
HTTP ステータスコード。public static final Response.Status.Family OTHER
public static Response.Status.Family[] values()
for (Response.Status.Family c : Response.Status.Family.values()) System.out.println(c);
public static Response.Status.Family valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 public static Response.Status.Family familyOf(int statusCode)
statusCode
- ファミリを取得するためのレスポンスステータスコード。Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.