public static enum HTTPResponse.RequestStatus extends Enum<HTTPResponse.RequestStatus>
Enum Constant and Description |
---|
CLIENT_ERROR
クライアントの問題でエラーが発生しました。
|
IO_EXCEPTION_OCCURRED
I/O エラーが発生しました。
|
OK
リクエストが成功しました。
|
REDIRECT_LIMIT_EXCEED
リダイレクト上限に達しました。
|
REDIRECT_LOCATION_MALFORMED
リダイレクト先に指定された URL が無効でした。
|
SERVER_ERROR
サーバでエラーが発生しました。
|
UNABLE_TO_RESOLVE_HOST
ホストが見つかりませんでした。
|
URL_MALFORMED
URL が無効でした。
|
Modifier and Type | Method and Description |
---|---|
static HTTPResponse.RequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPResponse.RequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPResponse.RequestStatus OK
public static final HTTPResponse.RequestStatus SERVER_ERROR
public static final HTTPResponse.RequestStatus CLIENT_ERROR
public static final HTTPResponse.RequestStatus REDIRECT_LOCATION_MALFORMED
public static final HTTPResponse.RequestStatus REDIRECT_LIMIT_EXCEED
public static final HTTPResponse.RequestStatus UNABLE_TO_RESOLVE_HOST
public static final HTTPResponse.RequestStatus IO_EXCEPTION_OCCURRED
public static final HTTPResponse.RequestStatus URL_MALFORMED
public static HTTPResponse.RequestStatus[] values()
for (HTTPResponse.RequestStatus c : HTTPResponse.RequestStatus.values()) System.out.println(c);
public static HTTPResponse.RequestStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.