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