Hitachi

Cosminexus V11 アプリケーションサーバ Webサービス開発ガイド


ClientResponse.Statusクラスの列挙型定数

ClientResponse.Statusクラスでは,HTTPステータスコードとして,次の列挙型定数が定義されています。定数ごとの構文およびHTTPステータスコードについて説明します。

表25‒5 ClientResponse.Statusクラスで定義されている列挙型定数

項番

定数名

構文

HTTPステータスコード

1

OK

public static final ClientResponse.Status OK

200 OK

2

CREATED

public static final ClientResponse.Status CREATED

201 Created

3

ACCEPTED

public static final ClientResponse.Status ACCEPTED

202 Accepted

4

NON_AUTHORITIVE_INFORMATION

public static final ClientResponse.Status NON_AUTHORITIVE_INFORMATION

203 Non-Authoritative Information

5

NO_CONTENT

public static final ClientResponse.Status NO_CONTENT

204 No Content

6

RESET_CONTENT

public static final ClientResponse.Status RESET_CONTENT

205 Reset Content

7

PARTIAL_CONTENT

public static final ClientResponse.Status PARTIAL_CONTENT

206 Partial Content

8

MOVED_PERMANENTLY

public static final ClientResponse.Status MOVED_PERMANENTLY

301 Moved Permantly

9

FOUND

public static final ClientResponse.Status FOUND

302 Found

10

SEE_OTHER

public static final ClientResponse.Status SEE_OTHER

303 See Other

11

NOT_MODIFIED

public static final ClientResponse.Status NOT_MODIFIED

304 Not Modified

12

USE_PROXY

public static final ClientResponse.Status USE_PROXY

305 Use Proxy

13

TEMPORARY_REDIRECT

public static final ClientResponse.Status TEMPORARY_REDIRECT

307 Temporary Redirect

14

BAD_REQUEST

public static final ClientResponse.Status BAD_REQUEST

400 Bad Request

15

UNAUTHORIZED

public static final ClientResponse.Status UNAUTHORIZED

401 Unauthorized

16

PAYMENT_REQUIRED

public static final ClientResponse.Status PAYMENT_REQUIRED

402 Payment Required

17

FORBIDDEN

public static final ClientResponse.Status FORBIDDEN

403 Forbidden

18

NOT_FOUND

public static final ClientResponse.Status NOT_FOUND

404 Not Found

19

METHOD_NOT_ALLOWED

public static final ClientResponse.Status METHOD_NOT_ALLOWED

405 Method Not Allowed

20

NOT_ACCEPTABLE

public static final ClientResponse.Status NOT_ACCEPTABLE

406 Not Acceptable

21

PROXY_AUTHENTICATION_REQUIRED

public static final ClientResponse.Status PROXY_AUTHENTICATION_REQUIRED

407 Proxy Authentication Required

22

REQUEST_TIMEOUT

public static final ClientResponse.Status REQUEST_TIMEOUT

408 Request Timeout

23

CONFLICT

public static final ClientResponse.Status CONFLICT

409 Conflict

24

GONE

public static final ClientResponse.Status GONE

410 Gone

25

LENGTH_REQUIRED

public static final ClientResponse.Status LENGTH_REQUIRED

411 Length Required

26

PRECONDITION_FAILED

public static final ClientResponse.Status PRECONDITION_FAILED

412 Precondition Failed

27

REQUEST_ENTITY_TOO_LARGE

public static final ClientResponse.Status REQUEST_ENTITY_TOO_LARGE

413 Request Entity Too Large

28

REQUEST_URI_TOO_LONG

public static final ClientResponse.Status REQUEST_URI_TOO_LONG

414 Request-URI Too Long

29

UNSUPPORTED_MEDIA_TYPE

public static final ClientResponse.Status UNSUPPORTED_MEDIA_TYPE

415 Unsupported Media Type

30

REQUESTED_RANGE_NOT_SATIFIABLE

public static final ClientResponse.Status REQUESTED_RANGE_NOT_SATIFIABLE

416 Requested Range Not Satisfiable

31

EXPECTATION_FAILED

public static final ClientResponse.Status EXPECTATION_FAILED

417 Expectation Failed

32

INTERNAL_SERVER_ERROR

public static final ClientResponse.Status INTERNAL_SERVER_ERROR

500 Internal Server Error

33

NOT_IMPLEMENTED

public static final ClientResponse.Status NOT_IMPLEMENTED

501 Not Implemented

34

BAD_GATEWAY

public static final ClientResponse.Status BAD_GATEWAY

502 Bad Gateway

35

SERVICE_UNAVAILABLE

public static final ClientResponse.Status SERVICE_UNAVAILABLE

503 Service Unavailable

36

GATEWAY_TIMEOUT

public static final ClientResponse.Status GATEWAY_TIMEOUT

504 Gateway Timeout

37

HTTP_VERSION_NOT_SUPPORTED

public static final ClientResponse.Status HTTP_VERSION_NOT_SUPPORTED

505 HTTP Version Not Supported