static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.accepted() |
Create a new ResponseBuilder with an ACCEPTED status.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.accepted(T entity) |
Create a new ResponseBuilder with an ACCEPTED status that contains
a representation.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.allow(String... methods) |
Set the list of allowed methods for the resource.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.allow(Set<String> methods) |
Set the list of allowed methods for the resource.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.cacheControl(jakarta.ws.rs.core.CacheControl cacheControl) |
Set the cache control data of the message.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.clone() |
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.contentLocation(URI location) |
Set the content location.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.cookie(jakarta.ws.rs.core.NewCookie... cookies) |
Add cookies to the response message.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.create(int status) |
Create a new ResponseBuilder with the supplied status.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.create(int status,
String reasonPhrase) |
Create a new ResponseBuilder with the supplied status and reason phrase.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.create(jakarta.ws.rs.core.Response.StatusType status) |
Create a new ResponseBuilder with the supplied status.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.create(jakarta.ws.rs.core.Response.StatusType status,
T entity) |
Create a new ResponseBuilder with the supplied status.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.create(RestResponse.Status status) |
Create a new ResponseBuilder with the supplied status.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.create(RestResponse.Status status,
T entity) |
Create a new ResponseBuilder with the supplied status.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.created(URI location) |
Create a new ResponseBuilder for a created resource, set the location
header using the supplied value.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.encoding(String encoding) |
Set the message entity content encoding.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.entity(T entity) |
Set the response entity in the builder.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.entity(T entity,
Annotation[] annotations) |
Set the response entity in the builder.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.expires(Date expires) |
Set the response expiration date.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.fromResponse(RestResponse<T> response) |
Create a new ResponseBuilder by performing a shallow copy of an
existing Response.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.header(String name,
Object value) |
Add an arbitrary header.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.language(String language) |
Set the message entity language.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.language(Locale language) |
Set the message entity language.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.lastModified(Date lastModified) |
Set the response entity last modification date.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.link(String uri,
String rel) |
Add a link header.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.link(URI uri,
String rel) |
Add a link header.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.links(jakarta.ws.rs.core.Link... links) |
Add one or more link headers.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.location(URI location) |
Set the location.
|
protected static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.newInstance() |
Create a new builder instance.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.noContent() |
Create a new ResponseBuilder for an empty response.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.notAcceptable(List<jakarta.ws.rs.core.Variant> variants) |
Create a new ResponseBuilder for a not acceptable response.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.notFound() |
Create a new ResponseBuilder for a not found response.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.notModified() |
Create a new ResponseBuilder with a not-modified status.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.notModified(jakarta.ws.rs.core.EntityTag tag) |
Create a new ResponseBuilder with a not-modified status.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.notModified(String tag) |
Create a new ResponseBuilder with a not-modified status
and a strong entity tag.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.ok() |
Create a new ResponseBuilder with an OK status.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.ok(T entity) |
Create a new ResponseBuilder that contains a representation.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.ok(T entity,
jakarta.ws.rs.core.MediaType type) |
Create a new ResponseBuilder that contains a representation.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.ok(T entity,
jakarta.ws.rs.core.Variant variant) |
Create a new ResponseBuilder that contains a representation.
|
static <T> RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.ok(T entity,
String type) |
Create a new ResponseBuilder that contains a representation.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.replaceAll(jakarta.ws.rs.core.MultivaluedMap<String,Object> headers) |
Replaces all existing headers with the newly supplied headers.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.seeOther(URI location) |
Create a new ResponseBuilder for a redirection.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.serverError() |
Create a new ResponseBuilder with an server error status.
|
abstract <Ret extends T> RestResponse.ResponseBuilder<Ret> |
RestResponse.ResponseBuilder.status(int status) |
Set the status on the ResponseBuilder.
|
abstract <Ret extends T> RestResponse.ResponseBuilder<Ret> |
RestResponse.ResponseBuilder.status(int status,
String reasonPhrase) |
Set the status on the ResponseBuilder.
|
<Ret extends T> RestResponse.ResponseBuilder<Ret> |
RestResponse.ResponseBuilder.status(jakarta.ws.rs.core.Response.StatusType status) |
Set the status on the ResponseBuilder.
|
RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.status(RestResponse.Status status) |
Set the status on the ResponseBuilder.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.tag(jakarta.ws.rs.core.EntityTag tag) |
Set a response entity tag.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.tag(String tag) |
Set a strong response entity tag.
|
static <IGNORED> RestResponse.ResponseBuilder<IGNORED> |
RestResponse.ResponseBuilder.temporaryRedirect(URI location) |
Create a new ResponseBuilder for a temporary redirection.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.type(jakarta.ws.rs.core.MediaType type) |
Set the message entity media type.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.type(String type) |
Set the message entity media type.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.variant(jakarta.ws.rs.core.Variant variant) |
Set message entity representation metadata.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.variants(jakarta.ws.rs.core.Variant... variants) |
Add a Vary header that lists the available variants.
|
abstract RestResponse.ResponseBuilder<T> |
RestResponse.ResponseBuilder.variants(List<jakarta.ws.rs.core.Variant> variants) |
Add a Vary header that lists the available variants.
|