Package | Description |
---|---|
javax.ws.rs |
High-level interfaces and annotations used to create RESTful service
resources.
|
javax.ws.rs.client |
The JAX-RS client API
|
javax.ws.rs.container |
Container-specific JAX-RS API.
|
javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
javax.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.rx.guava |
Jersey Reactive Client - Guava (ListenableFuture) provider.
|
org.glassfish.jersey.client.rx.jsr166e |
Jersey Reactive Client - JSR 166e, pre-Java 8,
(CompletableFuture) provider.
|
org.glassfish.jersey.client.rx.rxjava |
Jersey Reactive Client - RxJava (Observable) provider.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.mvc.spi |
Provides support for view aspect of model view controller and templates that
produce views.
|
org.glassfish.jersey.server.spi |
Jersey server-side service provider contract (SPI) classes.
|
org.glassfish.jersey.server.wadl.processor |
Jersey server-side WADL
model processor classes
that extends resource model with resources and resource methods that produce WADL content. |
org.glassfish.jersey.test |
Jersey test framework common classes that support testing JAX-RS and Jersey-based applications.
|
Modifier and Type | Method and Description |
---|---|
Response |
WebApplicationException.getResponse()
Get the HTTP response.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Response |
SyncInvoker.delete()
Invoke HTTP DELETE method for the current request synchronously.
|
Response |
SyncInvoker.get()
Invoke HTTP GET method for the current request synchronously.
|
Response |
ResponseProcessingException.getResponse()
Get the HTTP response for which the processing has failed.
|
Response |
SyncInvoker.head()
Invoke HTTP HEAD method for the current request synchronously.
|
Response |
Invocation.invoke()
Synchronously invoke the request and receive a response back.
|
Response |
SyncInvoker.method(String name)
Invoke an arbitrary method for the current request synchronously.
|
Response |
SyncInvoker.method(String name,
Entity<?> entity)
Invoke an arbitrary method for the current request synchronously.
|
Response |
SyncInvoker.options()
Invoke HTTP OPTIONS method for the current request synchronously.
|
Response |
SyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request synchronously.
|
Response |
SyncInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request synchronously.
|
Response |
SyncInvoker.trace()
Invoke HTTP TRACE method for the current request synchronously.
|
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsyncInvoker.delete()
Invoke HTTP DELETE method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.get()
Invoke HTTP GET method for the current request asynchronously.
|
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.
|
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.
|
Future<Response> |
AsyncInvoker.options()
Invoke HTTP OPTIONS method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request asynchronously.
|
Future<Response> |
AsyncInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request asynchronously.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientRequestContext.abortWith(Response response)
Abort the filter chain with a response.
|
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsyncInvoker.head(InvocationCallback<Response> callback)
Invoke HTTP HEAD method for the current request asynchronously.
|
Constructor and 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 specific
response with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause ). |
Modifier and Type | Method and Description |
---|---|
void |
ContainerRequestContext.abortWith(Response response)
Abort the filter chain with a response.
|
Modifier and Type | Method and Description |
---|---|
abstract Response |
Response.ResponseBuilder.build()
Create a Response instance from the current ResponseBuilder.
|
Modifier and Type | Method and Description |
---|---|
static Response.ResponseBuilder |
Response.fromResponse(Response response)
Create a new ResponseBuilder by performing a shallow copy of an
existing Response.
|
Modifier and Type | Method and Description |
---|---|
Response |
ExceptionMapper.toResponse(E exception)
Map an exception to a
Response . |
Modifier and Type | Method and Description |
---|---|
Response |
JerseyInvocation.Builder.delete() |
Response |
JerseyInvocation.Builder.get() |
Response |
ClientRequest.getAbortResponse()
Get the request filter chain aborting response if set, or
null otherwise. |
Response |
JerseyInvocation.Builder.head() |
Response |
JerseyInvocation.invoke() |
Response |
JerseyInvocation.Builder.method(String name) |
Response |
JerseyInvocation.Builder.method(String name,
Entity<?> entity) |
Response |
JerseyInvocation.Builder.options() |
Response |
JerseyInvocation.Builder.post(Entity<?> entity) |
Response |
JerseyInvocation.Builder.put(Entity<?> entity) |
Response |
JerseyInvocation.Builder.trace() |
Modifier and Type | Method and Description |
---|---|
Future<Response> |
JerseyInvocation.submit() |
Modifier and Type | Method and Description |
---|---|
void |
ClientRequest.abortWith(Response response) |
Constructor and Description |
---|
ClientResponse(ClientRequest requestContext,
Response response)
Create new Jersey client response context initialized from a JAX-RS
response . |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.delete() |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.get() |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.head() |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.method(String name) |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.method(String name,
Entity<?> entity) |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.options() |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.post(Entity<?> entity) |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.put(Entity<?> entity) |
com.google.common.util.concurrent.ListenableFuture<Response> |
RxListenableFutureInvoker.trace() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Response> |
RxCompletableFutureInvoker.delete() |
CompletableFuture<Response> |
RxCompletableFutureInvoker.get() |
CompletableFuture<Response> |
RxCompletableFutureInvoker.head() |
CompletableFuture<Response> |
RxCompletableFutureInvoker.method(String name) |
CompletableFuture<Response> |
RxCompletableFutureInvoker.method(String name,
Entity<?> entity) |
CompletableFuture<Response> |
RxCompletableFutureInvoker.options() |
CompletableFuture<Response> |
RxCompletableFutureInvoker.post(Entity<?> entity) |
CompletableFuture<Response> |
RxCompletableFutureInvoker.put(Entity<?> entity) |
CompletableFuture<Response> |
RxCompletableFutureInvoker.trace() |
Modifier and Type | Method and Description |
---|---|
rx.Observable<Response> |
RxObservableInvoker.delete() |
rx.Observable<Response> |
RxObservableInvoker.get() |
rx.Observable<Response> |
RxObservableInvoker.head() |
rx.Observable<Response> |
RxObservableInvoker.method(String name) |
rx.Observable<Response> |
RxObservableInvoker.method(String name,
Entity<?> entity) |
rx.Observable<Response> |
RxObservableInvoker.options() |
rx.Observable<Response> |
RxObservableInvoker.post(Entity<?> entity) |
rx.Observable<Response> |
RxObservableInvoker.put(Entity<?> entity) |
rx.Observable<Response> |
RxObservableInvoker.trace() |
Modifier and Type | Method and Description |
---|---|
Response |
ContainerRequest.getAbortResponse()
Get the request filter chain aborting response if set, or
null otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
ContainerRequest.abortWith(Response response) |
Constructor and Description |
---|
ContainerResponse(ContainerRequest requestContext,
Response response)
Create a new Jersey container response context.
|
Modifier and Type | Method and Description |
---|---|
Response |
AbstractErrorTemplateMapper.toResponse(T throwable) |
Modifier and Type | Method and Description |
---|---|
Response |
ResponseErrorMapper.toResponse(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
Response |
WadlModelProcessor.OptionsHandler.apply(ContainerRequestContext containerRequestContext) |
Modifier and Type | Method and Description |
---|---|
void |
JerseyTest.close(Response... responses)
Utility method that safely closes a response without throwing an exception.
|
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.