Uses of Class
javax.ws.rs.core.Response.ResponseBuilder
Packages that use Response.ResponseBuilder
Package
Description
Low-level interfaces and annotations used to create RESTful service
resources.
APIs that provide extensions to the types supported by the JAX-RS API.
-
Uses of Response.ResponseBuilder in javax.ws.rs.core
Methods in javax.ws.rs.core that return Response.ResponseBuilderModifier and TypeMethodDescriptionabstract Response.ResponseBuilder
Response.ResponseBuilder.cacheControl
(CacheControl cacheControl) Set the cache control data on the ResponseBuilder.abstract Response.ResponseBuilder
Response.ResponseBuilder.clone()
Create a copy of the ResponseBuilder preserving its state.abstract Response.ResponseBuilder
Response.ResponseBuilder.contentLocation
(URI location) Set the content location on the ResponseBuilder.abstract Response.ResponseBuilder
Add cookies to the ResponseBuilder.static Response.ResponseBuilder
Create a new ResponseBuilder for a created resource, set the location header using the supplied value.abstract Response.ResponseBuilder
Set the entity on the ResponseBuilder.Request.evaluatePreconditions()
Evaluate request preconditions for a resource that does not currently exist.Request.evaluatePreconditions
(Date lastModified) Evaluate request preconditions based on the passed in value.Request.evaluatePreconditions
(Date lastModified, EntityTag eTag) Evaluate request preconditions based on the passed in value.Request.evaluatePreconditions
(EntityTag eTag) Evaluate request preconditions based on the passed in value.abstract Response.ResponseBuilder
Set the expires date on the ResponseBuilder.static Response.ResponseBuilder
Response.fromResponse
(Response response) Create a new ResponseBuilder by performing a shallow copy of an existing Response.abstract Response.ResponseBuilder
Add a header to the ResponseBuilder.abstract Response.ResponseBuilder
Set the language on the ResponseBuilder.abstract Response.ResponseBuilder
Set the language on the ResponseBuilder.abstract Response.ResponseBuilder
Response.ResponseBuilder.lastModified
(Date lastModified) Set the last modified date on the ResponseBuilder.abstract Response.ResponseBuilder
Set the location on the ResponseBuilder.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
Create a new ResponseBuilder that contains a representation.static Response.ResponseBuilder
Create a new ResponseBuilder that contains a representation.static Response.ResponseBuilder
Create a new ResponseBuilder that contains a representation.static Response.ResponseBuilder
Create a new ResponseBuilder that contains a representation.static Response.ResponseBuilder
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.Response.ResponseBuilder.status
(Response.Status status) Set the status on the 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
(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
Set a strong entity tag on the ResponseBuilder.abstract Response.ResponseBuilder
Set an entity tag on the ResponseBuilder.static Response.ResponseBuilder
Response.temporaryRedirect
(URI location) Create a new ResponseBuilder for a temporary redirection.abstract Response.ResponseBuilder
Set the response media type on the ResponseBuilder.abstract Response.ResponseBuilder
Set the response media type on the ResponseBuilder.abstract Response.ResponseBuilder
Set representation metadata on the ResponseBuilder.abstract Response.ResponseBuilder
Add a Vary header that lists the available variants. -
Uses of Response.ResponseBuilder in javax.ws.rs.ext
Methods in javax.ws.rs.ext that return Response.ResponseBuilderModifier and TypeMethodDescriptionabstract Response.ResponseBuilder
RuntimeDelegate.createResponseBuilder()
Create a new instance of aResponse.ResponseBuilder
.