| Package | Description |
|---|---|
| javax.ws.rs.client |
The Client API
|
| javax.ws.rs.container |
Container-specific API.
|
| javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
| org.glassfish.jersey.client |
Jersey client-side classes.
|
| org.glassfish.jersey.http |
Common Jersey core http classes.
|
| org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| Modifier and Type | Method and Description |
|---|---|
Response.StatusType |
ClientResponseContext.getStatusInfo()
Get the complete status information associated with the response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientResponseContext.setStatusInfo(Response.StatusType statusInfo)
Set the complete status information (status code and reason phrase) associated
with the response.
|
| Modifier and Type | Method and Description |
|---|---|
Response.StatusType |
ContainerResponseContext.getStatusInfo()
Get the complete status information associated with the response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerResponseContext.setStatusInfo(Response.StatusType statusInfo)
Set the complete status information (status code and reason phrase) associated
with the response.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Response.Status
Commonly used status codes defined by HTTP, see
HTTP/1.1 documentation
for the complete list.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Response.StatusType |
Response.getStatusInfo()
Get the complete status information associated with the response.
|
| Modifier and Type | Method and Description |
|---|---|
static Response.ResponseBuilder |
Response.status(Response.StatusType status)
Create a new ResponseBuilder with the supplied status.
|
Response.ResponseBuilder |
Response.ResponseBuilder.status(Response.StatusType status)
Set the status on the ResponseBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
Response.StatusType |
ClientResponse.getStatusInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientResponse.setStatusInfo(Response.StatusType status) |
| Constructor and Description |
|---|
ClientResponse(Response.StatusType status,
ClientRequest requestContext)
Create a new Jersey client response context.
|
ClientResponse(Response.StatusType status,
ClientRequest requestContext,
URI resolvedRequestUri)
Create a new Jersey client response context.
|
| Modifier and Type | Field and Description |
|---|---|
static Response.StatusType |
ResponseStatus.Success2xx.ACCEPTED_202
202 Accepted.
|
static Response.StatusType |
ResponseStatus.Success2xx.ALREADY_REPORTED_208
208 Already Reported.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.BAD_GATEWAY_502
502 Bad Gateway.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.BAD_REQUEST_400
400 Bad Request.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.CONFLICT_409
409 Conflict.
|
static Response.StatusType |
ResponseStatus.Info1xx.CONTINUE_100
100 Continue.
|
static Response.StatusType |
ResponseStatus.Success2xx.CREATED_201
201 Created.
|
static Response.StatusType |
ResponseStatus.Info1xx.EARLY_HINTS_103
103 Early Hints.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.EXPECTATION_FAILED_417
417 Expectation Failed.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.FAILED_DEPENDENCY_424
424 Failed Dependency.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.FORBIDDEN_403
403 Forbidden.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.FOUND_302
302 Found.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.GATEWAY_TIMEOUT_504
504 Gateway Timeout.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.GONE_410
410 Gone.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.HTTP_VERSION_NOT_SUPPORTED_505
505 HTTP Version Not Supported.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.I_AM_A_TEAPOT_418
418 I'm a teapot.
|
static Response.StatusType |
ResponseStatus.Success2xx.IM_USED_226
226 IM used.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.INSUFFICIENT_STORAGE_507
507 Insufficient Storage.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.INTERNAL_SERVER_ERROR_500
500 Internal Server Error.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.LENGTH_REQUIRED_411
411 Length Required.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.LOCKED_423
423 Locked.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.LOOP_DETECTED_508
508 Loop Detected.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.METHOD_NOT_ALLOWED_405
405 Method Not Allowed.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.MISDIRECTED_REQUEST_421
421 Misdirected Request.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.MOVED_PERMANENTLY_301
301 Moved Permanently.
|
static Response.StatusType |
ResponseStatus.Success2xx.MULTI_STATUS_207
207 Multi-Status.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.MULTIPLE_CHOICES_300
300 Multiple Choices.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.NETWORK_AUTHENTICATION_REQUIRED_511
511 Network Authentication Required.
|
static Response.StatusType |
ResponseStatus.Success2xx.NO_CONTENT_204
204 No Content.
|
static Response.StatusType |
ResponseStatus.Success2xx.NON_AUTHORITATIVE_INFORMATION_203
203 Non-Authoritative Information.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.NOT_ACCEPTABLE_406
406 Not Acceptable.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.NOT_EXTENDED_510
510 Not Extended.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.NOT_FOUND_404
404 Not Found.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.NOT_IMPLEMENTED_501
501 Not Implemented.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.NOT_MODIFIED_304
304 Not Modified.
|
static Response.StatusType |
ResponseStatus.Success2xx.OK_200
200 OK.
|
static Response.StatusType |
ResponseStatus.Success2xx.PARTIAL_CONTENT_206
206 Partial Content.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.PAYMENT_REQUIRED_402
402 Payment Required.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.PERMANENT_REDIRECT_308
308 Permanent Redirect.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.PRECONDITION_FAILED_412
412 Precondition Failed.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.PRECONDITION_REQUIRED_428
428 Precondition Required.
|
static Response.StatusType |
ResponseStatus.Info1xx.PROCESSING_102
102 Processing.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.PROXY_AUTHENTICATION_REQUIRED_407
407 Proxy Authentication Required.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.REQUEST_ENTITY_TOO_LARGE_413
413 Request Entity Too Large.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.REQUEST_HEADER_FIELDS_TOO_LARGE_431
431 Request Header Fields Too Large.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.REQUEST_TIMEOUT_408
408 Request Timeout.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.REQUEST_URI_TOO_LONG_414
414 Request-URI Too Long.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.REQUESTED_RANGE_NOT_SATISFIABLE_416
416 Requested Range Not Satisfiable.
|
static Response.StatusType |
ResponseStatus.Success2xx.RESET_CONTENT_205
205 Reset Content.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.SEE_OTHER_303
303 See Other.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.SERVICE_UNAVAILABLE_503
503 Service Unavailable.
|
static Response.StatusType |
ResponseStatus.Info1xx.SWITCHING_PROTOCOLS_101
101 Switching Protocols.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.TEMPORARY_REDIRECT_307
307 Temporary Redirect.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.TOO_EARLY_425
425 Too Early.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.TOO_MANY_REQUESTS_429
429 Too Many Requests.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.UNAUTHORIZED_401
401 Unauthorized.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.UNAVAILABLE_FOR_LEGAL_REASONS_451
451 Unavailable For Legal Reasons.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.UNPROCESSABLE_CONTENT_422
422 Unprocessable Content.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.UNSUPPORTED_MEDIA_TYPE_415
415 Unsupported Media Type.
|
static Response.StatusType |
ResponseStatus.ClientError4xx.UPGRADE_REQUIRED_426
426 Upgrade Required.
|
static Response.StatusType |
ResponseStatus.Redirect3xx.USE_PROXY_305
305 Use Proxy.
|
static Response.StatusType |
ResponseStatus.ServerError5xx.VARIANT_ALSO_NEGOTIATES_506
506 Variant Also Negotiates.
|
| Modifier and Type | Method and Description |
|---|---|
static Response.StatusType |
Statuses.from(int code)
Create a new status type instance.
|
static Response.StatusType |
Statuses.from(int code,
String reason)
Create a new status type instance with a custom reason phrase.
|
static Response.StatusType |
Statuses.from(Response.StatusType status,
String reason)
Create a new status type instance with a custom reason phrase.
|
Response.StatusType |
OutboundJaxrsResponse.getStatusInfo() |
| Modifier and Type | Method and Description |
|---|---|
static Response.StatusType |
Statuses.from(Response.StatusType status,
String reason)
Create a new status type instance with a custom reason phrase.
|
Response.ResponseBuilder |
OutboundJaxrsResponse.Builder.status(Response.StatusType status) |
| Constructor and Description |
|---|
OutboundJaxrsResponse(Response.StatusType status,
OutboundMessageContext context)
Create new outbound JAX-RS response message instance.
|
| Modifier and Type | Method and Description |
|---|---|
Response.StatusType |
ContainerResponse.getStatusInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerResponse.setStatusInfo(Response.StatusType status) |
| Constructor and Description |
|---|
ParamException(Throwable cause,
Response.StatusType status,
Class<? extends Annotation> parameterType,
String name,
String defaultStringValue) |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.