Uses of Class
jakarta.ws.rs.core.Response
-
Packages that use Response Package Description jakarta.ws.rs High-level interfaces and annotations used to create RESTful service resources.jakarta.ws.rs.client The JAX-RS client APIjakarta.ws.rs.container Container-specific JAX-RS API.jakarta.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources.jakarta.ws.rs.ext APIs that provide extensions to the types supported by the JAX-RS API.org.glassfish.jersey.client Jersey client-side classes.org.glassfish.jersey.client.authentication Provides core client authentication mechanisms.org.glassfish.jersey.client.spi Jersey client SPI classes/interfaces.org.glassfish.jersey.message.internal Common Jersey internal messaging classes.org.glassfish.jersey.server Jersey server-side classes.org.glassfish.jersey.server.model.internal Jersey server-side internal model related and routing helper classes.org.glassfish.jersey.server.spi Jersey server-side service provider contract (SPI) classes.org.glassfish.jersey.server.spi.internal Jersey server-side internal service provider contract (SPI) classes.org.glassfish.jersey.server.wadl.internal Jersey server-side WADL internal classes.org.glassfish.jersey.server.wadl.processor Jersey server-side WADLmodel processorclasses that extends resource model with resources and resource methods that produce WADL content. -
-
Uses of Response in jakarta.ws.rs
Methods in jakarta.ws.rs that return Response Modifier and Type Method Description ResponseWebApplicationException. getResponse()Get the HTTP response.Constructors in jakarta.ws.rs with parameters of type Response Constructor Description BadRequestException(Response response)Construct a new bad client request exception.BadRequestException(Response response, Throwable cause)Construct a new bad client request exception.BadRequestException(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.ClientErrorException(Response response)Construct a new client error exception.ClientErrorException(Response response, Throwable cause)Construct a new client error 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.ForbiddenException(Response response)Construct a new "forbidden" exception.ForbiddenException(Response response, Throwable cause)Construct a new "forbidden" exception.ForbiddenException(String message, Response response)Construct a new "forbidden" exception.ForbiddenException(String message, Response response, Throwable cause)Construct a new "forbidden" exception.InternalServerErrorException(Response response)Construct a new internal server error exception.InternalServerErrorException(Response response, Throwable cause)Construct a new internal server error 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.NotAcceptableException(Response response)Construct a new "request not acceptable" exception.NotAcceptableException(Response response, Throwable cause)Construct a new "request not acceptable" 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.NotAllowedException(Response response)Construct a new method not allowed exception.NotAllowedException(Response response, Throwable cause)Construct a new method not allowed 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.NotAuthorizedException(Response response)Construct a new "not authorized" exception.NotAuthorizedException(Response response, Throwable cause)Construct a new "not authorized" 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.NotFoundException(Response response)Construct a new "not found" exception.NotFoundException(Response response, Throwable cause)Construct a new "not found" 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.NotSupportedException(Response response)Construct a new unsupported media type exception.NotSupportedException(Response response, Throwable cause)Construct a new unsupported media type 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.RedirectionException(Response response)Construct a new redirection exception.RedirectionException(String message, Response response)Construct a new redirection exception.ServerErrorException(Response response)Construct a new server error exception.ServerErrorException(Response response, Throwable cause)Construct a new server error 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.ServiceUnavailableException(Response response)Construct a new "service unavailable" exception.ServiceUnavailableException(Response response, Throwable cause)Construct a new "service unavailable" 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.WebApplicationException(Response response)Construct a new instance using the supplied response and a default message generated from the response's HTTP status code and the associated HTTP status reason phrase.WebApplicationException(String message, Response response)Construct a new instance using the supplied message and response.WebApplicationException(String message, Throwable cause, Response response)Construct a new instance with the supplied message, root cause and response.WebApplicationException(Throwable cause, Response response)Construct a new instance with the supplied root cause, response and a default message generated from the response's HTTP status code and the associated HTTP status reason phrase. -
Uses of Response in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return Response Modifier and Type Method Description ResponseSyncInvoker. delete()Invoke HTTP DELETE method for the current request synchronously.ResponseSyncInvoker. get()Invoke HTTP GET method for the current request synchronously.ResponseResponseProcessingException. getResponse()Get the HTTP response for which the processing has failed.ResponseSyncInvoker. head()Invoke HTTP HEAD method for the current request synchronously.ResponseInvocation. invoke()Synchronously invoke the request and receive a response back.ResponseSyncInvoker. method(String name)Invoke an arbitrary method for the current request synchronously.ResponseSyncInvoker. method(String name, Entity<?> entity)Invoke an arbitrary method for the current request synchronously.ResponseSyncInvoker. options()Invoke HTTP OPTIONS method for the current request synchronously.ResponseSyncInvoker. post(Entity<?> entity)Invoke HTTP POST method for the current request synchronously.ResponseSyncInvoker. put(Entity<?> entity)Invoke HTTP PUT method for the current request synchronously.ResponseSyncInvoker. trace()Invoke HTTP TRACE method for the current request synchronously.Methods in jakarta.ws.rs.client that return types with arguments of type Response Modifier and Type Method Description Future<Response>AsyncInvoker. delete()Invoke HTTP DELETE method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. delete()Future<Response>AsyncInvoker. get()Invoke HTTP GET method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. get()Future<Response>AsyncInvoker. head()Invoke HTTP HEAD method for the current request asynchronously.Future<Response>AsyncInvoker. head(InvocationCallback<Response> callback)Invoke HTTP HEAD method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. head()Future<Response>AsyncInvoker. method(String name)Invoke an arbitrary method for the current request asynchronously.Future<Response>AsyncInvoker. method(String name, Entity<?> entity)Invoke an arbitrary method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. method(String name)CompletionStage<Response>CompletionStageRxInvoker. method(String name, Entity<?> entity)Future<Response>AsyncInvoker. options()Invoke HTTP OPTIONS method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. options()Future<Response>AsyncInvoker. post(Entity<?> entity)Invoke HTTP POST method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. post(Entity<?> entity)Future<Response>AsyncInvoker. put(Entity<?> entity)Invoke HTTP PUT method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. put(Entity<?> entity)Future<Response>Invocation. submit()Submit the request for an asynchronous invocation and receive a future response back.Future<Response>AsyncInvoker. trace()Invoke HTTP TRACE method for the current request asynchronously.CompletionStage<Response>CompletionStageRxInvoker. trace()Methods in jakarta.ws.rs.client with parameters of type Response Modifier and Type Method Description voidClientRequestContext. abortWith(Response response)Abort the filter chain with a response.Method parameters in jakarta.ws.rs.client with type arguments of type Response Modifier and Type Method Description Future<Response>AsyncInvoker. head(InvocationCallback<Response> callback)Invoke HTTP HEAD method for the current request asynchronously.Constructors in jakarta.ws.rs.client with parameters of type Response Constructor Description ResponseProcessingException(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 specificresponsewith 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 jakarta.ws.rs.container
Methods in jakarta.ws.rs.container with parameters of type Response Modifier and Type Method Description voidContainerRequestContext. abortWith(Response response)Abort the filter chain with a response. -
Uses of Response in jakarta.ws.rs.core
Methods in jakarta.ws.rs.core that return Response Modifier and Type Method Description abstract ResponseResponse.ResponseBuilder. build()Create a Response instance from the current ResponseBuilder.Methods in jakarta.ws.rs.core with parameters of type Response Modifier and Type Method Description static Response.ResponseBuilderResponse. fromResponse(Response response)Create a new ResponseBuilder by performing a shallow copy of an existing Response. -
Uses of Response in jakarta.ws.rs.ext
Methods in jakarta.ws.rs.ext that return Response Modifier and Type Method Description ResponseExceptionMapper. toResponse(E exception)Map an exception to aResponse. -
Uses of Response in org.glassfish.jersey.client
Methods in org.glassfish.jersey.client that return Response Modifier and Type Method Description ResponseJerseyInvocation.Builder. delete()ResponseJerseyInvocation.Builder. get()ResponseClientRequest. getAbortResponse()Get the request filter chain aborting response if set, ornullotherwise.ResponseJerseyInvocation.Builder. head()ResponseJerseyInvocation. invoke()ResponseJerseyInvocation.Builder. method(String name)ResponseJerseyInvocation.Builder. method(String name, Entity<?> entity)ResponseJerseyInvocation.Builder. options()ResponseJerseyInvocation.Builder. post(Entity<?> entity)ResponseJerseyInvocation.Builder. put(Entity<?> entity)ResponseJerseyInvocation.Builder. trace()Methods in org.glassfish.jersey.client that return types with arguments of type Response Modifier and Type Method Description Future<Response>JerseyInvocation. submit()Methods in org.glassfish.jersey.client with parameters of type Response Modifier and Type Method Description voidClientRequest. abortWith(Response response)Constructors in org.glassfish.jersey.client with parameters of type Response Constructor Description ClientResponse(ClientRequest requestContext, Response response)Create new Jersey client response context initialized from a JAX-RSresponse. -
Uses of Response in org.glassfish.jersey.client.authentication
Constructors in org.glassfish.jersey.client.authentication with parameters of type Response Constructor Description ResponseAuthenticationException(Response response, String message)Creates new instance of this exception with exception message.ResponseAuthenticationException(Response response, String message, Throwable cause)Creates new instance of this exception with exception message and exception cause.ResponseAuthenticationException(Response response, Throwable cause)Creates new instance of this exception with exception cause. -
Uses of Response in org.glassfish.jersey.client.spi
Methods in org.glassfish.jersey.client.spi with parameters of type Response Modifier and Type Method Description voidPostInvocationInterceptor.ExceptionContext. resolve(Response response)Resolve theThrowableswith a providedResponse. -
Uses of Response in org.glassfish.jersey.message.internal
Subclasses of Response in org.glassfish.jersey.message.internal Modifier and Type Class Description classOutboundJaxrsResponseAn outbound JAX-RS response message.Methods in org.glassfish.jersey.message.internal that return Response Modifier and Type Method Description ResponseOutboundJaxrsResponse.Builder. build()Methods in org.glassfish.jersey.message.internal with parameters of type Response Modifier and Type Method Description static OutboundJaxrsResponseOutboundJaxrsResponse. from(Response response)Deprecated.static OutboundJaxrsResponseOutboundJaxrsResponse. from(Response response, Configuration configuration)Get an OutboundJaxrsResponse instance for a given JAX-RS response. -
Uses of Response in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server that return Response Modifier and Type Method Description ResponseContainerRequest. getAbortResponse()Get the request filter chain aborting response if set, ornullotherwise.Methods in org.glassfish.jersey.server with parameters of type Response Modifier and Type Method Description voidContainerRequest. abortWith(Response response)Method parameters in org.glassfish.jersey.server with type arguments of type Response Modifier and Type Method Description voidAsyncContext. invokeManaged(org.glassfish.jersey.internal.util.Producer<Response> producer)Invoke the provided response producer in a Jersey-managed asynchronous thread.Constructors in org.glassfish.jersey.server with parameters of type Response Constructor Description ContainerResponse(ContainerRequest requestContext, Response response)Create a new Jersey container response context. -
Uses of Response in org.glassfish.jersey.server.model.internal
Constructor parameters in org.glassfish.jersey.server.model.internal with type arguments of type Response Constructor Description Method(String httpMethod, MediaType consumes, MediaType produces, Class<? extends Inflector<ContainerRequestContext,Response>> inflector)Create new method instance.Method(String httpMethod, MediaType consumes, MediaType produces, Inflector<ContainerRequestContext,Response> inflector)Create new method instance.Method(String path, String httpMethod, MediaType consumes, MediaType produces, Class<? extends Inflector<ContainerRequestContext,Response>> inflector)Create new method instance.Method(String path, String httpMethod, MediaType consumes, MediaType produces, Inflector<ContainerRequestContext,Response> inflector)Create new method instance.Method(String path, String httpMethod, List<MediaType> consumes, List<MediaType> produces, Class<? extends Inflector<ContainerRequestContext,Response>> inflectorClass)Create new method instance.Method(String path, String httpMethod, List<MediaType> consumes, List<MediaType> produces, Inflector<ContainerRequestContext,Response> inflector)Create new method instance.Method(String httpMethod, List<MediaType> consumes, List<MediaType> produces, Class<? extends Inflector<ContainerRequestContext,Response>> inflector)Create new method instance.Method(String httpMethod, List<MediaType> consumes, List<MediaType> produces, Inflector<ContainerRequestContext,Response> inflector)Create new method instance. -
Uses of Response in org.glassfish.jersey.server.spi
Methods in org.glassfish.jersey.server.spi that return Response Modifier and Type Method Description ResponseResponseErrorMapper. toResponse(Throwable throwable) -
Uses of Response in org.glassfish.jersey.server.spi.internal
Methods in org.glassfish.jersey.server.spi.internal that return Response Modifier and Type Method Description ResponseResourceMethodDispatcher. dispatch(Object resource, ContainerRequest request)Reflectively dispatch a request to the underlyinginvocable resource methodvia the configuredinvocation handlerusing the provided resource class instance. -
Uses of Response in org.glassfish.jersey.server.wadl.internal
Methods in org.glassfish.jersey.server.wadl.internal that return Response Modifier and Type Method Description ResponseWadlResource. getExternalGrammar(UriInfo uriInfo, String path)ResponseWadlResource. getWadl(UriInfo uriInfo) -
Uses of Response in org.glassfish.jersey.server.wadl.processor
Methods in org.glassfish.jersey.server.wadl.processor that return Response Modifier and Type Method Description ResponseWadlModelProcessor.OptionsHandler. apply(ContainerRequestContext containerRequestContext)
-