static <IGNORED> RestResponse<IGNORED> |
RestResponse.accepted() |
Create a new RestResponse with an ACCEPTED status.
|
static <T> RestResponse<T> |
RestResponse.accepted(T entity) |
Create a new RestResponse with an ACCEPTED status that contains
a representation.
|
abstract RestResponse<T> |
RestResponse.ResponseBuilder.build() |
Create a RestResponse instance from the current ResponseBuilder.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.created(URI location) |
Create a new RestResponse for a created resource, set the location
header using the supplied value.
|
static <T> RestResponse<T> |
RestResponse.fromResponse(RestResponse<T> response) |
Create a new ResponseBuilder by performing a shallow copy of an
existing RestResponse.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.noContent() |
Create a new RestResponse for an empty response.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.notAcceptable(List<jakarta.ws.rs.core.Variant> variants) |
Create a new RestResponse for a not acceptable response.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.notFound() |
Create a new RestResponse for a not found response.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.notModified() |
Create a new RestResponse with a not-modified status.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.notModified(jakarta.ws.rs.core.EntityTag tag) |
Create a new RestResponse with a not-modified status.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.notModified(String tag) |
Create a new RestResponse with a not-modified status
and a strong entity tag.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.ok() |
Create a new RestResponse with an OK status.
|
static <T> RestResponse<T> |
RestResponse.ok(T entity) |
Create a new RestResponse that contains a representation.
|
static <T> RestResponse<T> |
RestResponse.ok(T entity,
jakarta.ws.rs.core.MediaType type) |
Create a new RestResponse that contains a representation.
|
static <T> RestResponse<T> |
RestResponse.ok(T entity,
jakarta.ws.rs.core.Variant variant) |
Create a new RestResponse that contains a representation.
|
static <T> RestResponse<T> |
RestResponse.ok(T entity,
String type) |
Create a new RestResponse that contains a representation.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.seeOther(URI location) |
Create a new RestResponse for a redirection.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.serverError() |
Create a new RestResponse with an server error status.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.status(int status) |
Create a new RestResponse with the supplied status.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.status(int status,
String reasonPhrase) |
Create a new RestResponse with the supplied status and reason phrase.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.status(jakarta.ws.rs.core.Response.StatusType status) |
Create a new RestResponse with the supplied status.
|
static <T> RestResponse<T> |
RestResponse.status(jakarta.ws.rs.core.Response.StatusType status,
T entity) |
Create a new RestResponse with the supplied status.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.status(RestResponse.Status status) |
Create a new RestResponse with the supplied status.
|
static <T> RestResponse<T> |
RestResponse.status(RestResponse.Status status,
T entity) |
Create a new RestResponse with the supplied status.
|
static <IGNORED> RestResponse<IGNORED> |
RestResponse.temporaryRedirect(URI location) |
Create a new RestResponse for a temporary redirection.
|