Uses of Class
javax.ws.rs.core.Response
Packages that use Response
Package
Description
High-level interfaces and annotations used to create RESTful service
resources.
The JAX-RS client API
Container-specific JAX-RS API.
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 in javax.ws.rs
Fields in javax.ws.rs declared as ResponseMethods in javax.ws.rs that return ResponseModifier and TypeMethodDescriptionprivate static Response
NotAllowedException.createNotAllowedResponse
(String allowed, String... moreAllowed) private static Response
NotAuthorizedException.createUnauthorizedResponse
(Object challenge, Object[] otherChallenges) WebApplicationException.getResponse()
Get the HTTP response.(package private) static Response
WebApplicationException.validate
(Response response, Response.Status expectedStatus) Validate that aResponse
object has an expected HTTP response status code set.(package private) static Response
WebApplicationException.validate
(Response response, Response.Status.Family expectedStatusFamily) Validate that aResponse
object has an expected HTTP response status code set.private static Response
NotAllowedException.validateAllow
(Response response) Methods in javax.ws.rs with parameters of type ResponseModifier and TypeMethodDescriptionprivate static String
WebApplicationException.computeExceptionMessage
(Response response) (package private) static Response
WebApplicationException.validate
(Response response, Response.Status expectedStatus) Validate that aResponse
object has an expected HTTP response status code set.(package private) static Response
WebApplicationException.validate
(Response response, Response.Status.Family expectedStatusFamily) Validate that aResponse
object has an expected HTTP response status code set.private static Response
NotAllowedException.validateAllow
(Response response) Constructors in javax.ws.rs with parameters of type ResponseModifierConstructorDescriptionBadRequestException
(String message, Response response) Construct a new bad client request exception.BadRequestException
(String message, Response response, Throwable cause) Construct a new bad client request exception.BadRequestException
(Response response) Construct a new bad client request exception.BadRequestException
(Response response, Throwable cause) Construct a new bad client request exception.ClientErrorException
(String message, Response response) Construct a new client error exception.ClientErrorException
(String message, Response response, Throwable cause) Construct a new client error exception.ClientErrorException
(Response response) Construct a new client error exception.ClientErrorException
(Response response, Throwable cause) Construct a new client error exception.ForbiddenException
(String message, Response response) Construct a new "forbidden" exception.ForbiddenException
(String message, Response response, Throwable cause) Construct a new "forbidden" exception.ForbiddenException
(Response response) Construct a new "forbidden" exception.ForbiddenException
(Response response, Throwable cause) Construct a new "forbidden" exception.InternalServerErrorException
(String message, Response response) Construct a new internal server error exception.InternalServerErrorException
(String message, Response response, Throwable cause) Construct a new internal server error exception.InternalServerErrorException
(Response response) Construct a new internal server error exception.InternalServerErrorException
(Response response, Throwable cause) Construct a new internal server error exception.NotAcceptableException
(String message, Response response) Construct a new "request not acceptable" exception.NotAcceptableException
(String message, Response response, Throwable cause) Construct a new "request not acceptable" exception.NotAcceptableException
(Response response) Construct a new "request not acceptable" exception.NotAcceptableException
(Response response, Throwable cause) Construct a new "request not acceptable" exception.NotAllowedException
(String message, Response response) Construct a new method not allowed exception.NotAllowedException
(String message, Response response, Throwable cause) Construct a new method not allowed exception.NotAllowedException
(Response response) Construct a new method not allowed exception.NotAllowedException
(Response response, Throwable cause) Construct a new method not allowed exception.NotAuthorizedException
(String message, Response response) Construct a new "not authorized" exception.NotAuthorizedException
(String message, Response response, Throwable cause) Construct a new "not authorized" exception.NotAuthorizedException
(Response response) Construct a new "not authorized" exception.NotAuthorizedException
(Response response, Throwable cause) Construct a new "not authorized" exception.NotFoundException
(String message, Response response) Construct a new "not found" exception.NotFoundException
(String message, Response response, Throwable cause) Construct a new "not found" exception.NotFoundException
(Response response) Construct a new "not found" exception.NotFoundException
(Response response, Throwable cause) Construct a new "not found" exception.NotSupportedException
(String message, Response response) Construct a new unsupported media type exception.NotSupportedException
(String message, Response response, Throwable cause) Construct a new unsupported media type exception.NotSupportedException
(Response response) Construct a new unsupported media type exception.NotSupportedException
(Response response, Throwable cause) Construct a new unsupported media type exception.RedirectionException
(String message, Response response) Construct a new redirection exception.RedirectionException
(Response response) Construct a new redirection exception.ServerErrorException
(String message, Response response) Construct a new server error exception.ServerErrorException
(String message, Response response, Throwable cause) Construct a new server error exception.ServerErrorException
(Response response) Construct a new server error exception.ServerErrorException
(Response response, Throwable cause) Construct a new server error exception.ServiceUnavailableException
(String message, Response response) Construct a new "service unavailable" exception.ServiceUnavailableException
(String message, Response response, Throwable cause) Construct a new "service unavailable" exception.ServiceUnavailableException
(Response response) Construct a new "service unavailable" exception.ServiceUnavailableException
(Response response, Throwable cause) Construct a new "service unavailable" exception.WebApplicationException
(String message, Throwable cause, Response response) Construct a new instance using the supplied response.WebApplicationException
(String message, Response response) Construct a new instance using the supplied response.WebApplicationException
(Throwable cause, Response response) Construct a new instance using the supplied response.WebApplicationException
(Response response) Construct a new instance using the supplied response. -
Uses of Response in javax.ws.rs.client
Fields in javax.ws.rs.client declared as ResponseMethods in javax.ws.rs.client that return ResponseModifier and TypeMethodDescriptionSyncInvoker.delete()
Invoke HTTP DELETE method for the current request synchronously.SyncInvoker.get()
Invoke HTTP GET method for the current request synchronously.ResponseProcessingException.getResponse()
Get the HTTP response for which the processing has failed.SyncInvoker.head()
Invoke HTTP HEAD method for the current request synchronously.Invocation.invoke()
Synchronously invoke the request and receive a response back.Invoke an arbitrary method for the current request synchronously.Invoke an arbitrary method for the current request synchronously.SyncInvoker.options()
Invoke HTTP OPTIONS method for the current request synchronously.Invoke HTTP POST method for the current request synchronously.Invoke HTTP PUT method for the current request synchronously.SyncInvoker.trace()
Invoke HTTP TRACE method for the current request synchronously.Methods in javax.ws.rs.client that return types with arguments of type ResponseModifier and TypeMethodDescriptionAsyncInvoker.delete()
Invoke HTTP DELETE method for the current request asynchronously.AsyncInvoker.get()
Invoke HTTP GET method for the current request asynchronously.AsyncInvoker.head()
Invoke HTTP HEAD method for the current request asynchronously.AsyncInvoker.head
(InvocationCallback<Response> callback) Invoke HTTP HEAD method for the current request asynchronously.Invoke an arbitrary method for the current request asynchronously.Invoke an arbitrary method for the current request asynchronously.AsyncInvoker.options()
Invoke HTTP OPTIONS method for the current request asynchronously.Invoke HTTP POST method for the current request asynchronously.Invoke HTTP PUT method for the current request asynchronously.Invocation.submit()
Submit the request for an asynchronous invocation and receive a future response back.AsyncInvoker.trace()
Invoke HTTP TRACE method for the current request asynchronously.Methods in javax.ws.rs.client with parameters of type ResponseModifier and TypeMethodDescriptionvoid
Abort the filter chain with a response.Method parameters in javax.ws.rs.client with type arguments of type ResponseModifier and TypeMethodDescriptionAsyncInvoker.head
(InvocationCallback<Response> callback) Invoke HTTP HEAD method for the current request asynchronously.Constructors in javax.ws.rs.client with parameters of type ResponseModifierConstructorDescriptionResponseProcessingException
(Response response, String message) Constructs a new JAX-RS runtime processing exception with the specified detail message.ResponseProcessingException
(Response response, String message, Throwable cause) Constructs a new JAX-RS runtime response processing exception with the specified detail message and cause.ResponseProcessingException
(Response response, Throwable cause) Constructs a new JAX-RS runtime response processing exception for a specificresponse
with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). -
Uses of Response in javax.ws.rs.container
Methods in javax.ws.rs.container with parameters of type Response -
Uses of Response in javax.ws.rs.core
Methods in javax.ws.rs.core that return ResponseModifier and TypeMethodDescriptionabstract Response
Response.ResponseBuilder.build()
Create a Response instance from the current ResponseBuilder.Methods in javax.ws.rs.core with parameters of type ResponseModifier and TypeMethodDescriptionstatic Response.ResponseBuilder
Response.fromResponse
(Response response) Create a new ResponseBuilder by performing a shallow copy of an existing Response. -
Uses of Response in javax.ws.rs.ext
Methods in javax.ws.rs.ext that return ResponseModifier and TypeMethodDescriptionExceptionMapper.toResponse
(E exception) Map an exception to aResponse
.