| Package | Description |
|---|---|
| javax.ws.rs.client |
The Client API
|
| javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
| javax.ws.rs.sse |
Server-Sent Events related API.
|
| org.glassfish.jersey.client |
Jersey client-side classes.
|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| Modifier and Type | Method and Description |
|---|---|
<R> T |
RxInvoker.delete(GenericType<R> responseType)
Invoke HTTP DELETE method for the current request.
|
<T> T |
SyncInvoker.delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.delete(GenericType<T> responseType) |
<R> T |
RxInvoker.get(GenericType<R> responseType)
Invoke HTTP GET method for the current request.
|
<T> T |
SyncInvoker.get(GenericType<T> responseType)
Invoke HTTP GET method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.get(GenericType<T> responseType)
Invoke HTTP GET method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.get(GenericType<T> responseType) |
<T> T |
Invocation.invoke(GenericType<T> responseType)
Synchronously invoke the request and receive a response of the specified
generic type back.
|
<R> T |
RxInvoker.method(String name,
Entity<?> entity,
GenericType<R> responseType)
Invoke an arbitrary method for the current request.
|
<T> T |
SyncInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType) |
<R> T |
RxInvoker.method(String name,
GenericType<R> responseType)
Invoke an arbitrary method for the current request.
|
<T> T |
SyncInvoker.method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.method(String name,
GenericType<T> responseType) |
<R> T |
RxInvoker.options(GenericType<R> responseType)
Invoke HTTP OPTIONS method for the current request.
|
<T> T |
SyncInvoker.options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.options(GenericType<T> responseType) |
<R> T |
RxInvoker.post(Entity<?> entity,
GenericType<R> responseType)
Invoke HTTP POST method for the current request.
|
<T> T |
SyncInvoker.post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.post(Entity<?> entity,
GenericType<T> type) |
<R> T |
RxInvoker.put(Entity<?> entity,
GenericType<R> responseType)
Invoke HTTP PUT method for the current request.
|
<T> T |
SyncInvoker.put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.put(Entity<?> entity,
GenericType<T> type) |
<T> Future<T> |
Invocation.submit(GenericType<T> responseType)
Submit the request for an asynchronous invocation and receive a future
response of the specified generic type back.
|
<R> T |
RxInvoker.trace(GenericType<R> responseType)
Invoke HTTP TRACE method for the current request.
|
<T> T |
SyncInvoker.trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request asynchronously.
|
<T> CompletionStage<T> |
CompletionStageRxInvoker.trace(GenericType<T> responseType) |
| Modifier and Type | Method and Description |
|---|---|
static GenericType |
GenericType.forInstance(Object instance)
Create a
generic type from a
Java instance. |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
Response.readEntity(GenericType<T> entityType)
Read the message entity input stream as an instance of specified Java type
using a
MessageBodyReader that supports mapping the
message entity stream onto the requested type. |
abstract <T> T |
Response.readEntity(GenericType<T> entityType,
Annotation[] annotations)
Read the message entity input stream as an instance of specified Java type
using a
MessageBodyReader that supports mapping the
message entity stream onto the requested type. |
| Modifier and Type | Method and Description |
|---|---|
OutboundSseEvent.Builder |
OutboundSseEvent.Builder.data(GenericType type,
Object data)
Set event data and a generic java type of event data.
|
<T> T |
InboundSseEvent.readData(GenericType<T> type)
Read event data as a given generic type.
|
<T> T |
InboundSseEvent.readData(GenericType<T> type,
MediaType mediaType)
Read event data as a given generic type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkedInput<T>
Response entity type used for receiving messages in "typed" chunks.
|
| Modifier and Type | Method and Description |
|---|---|
<R> T |
AbstractRxInvoker.delete(GenericType<R> responseType) |
<T> T |
JerseyInvocation.Builder.delete(GenericType<T> responseType) |
<R> T |
AbstractRxInvoker.get(GenericType<R> responseType) |
<T> T |
JerseyInvocation.Builder.get(GenericType<T> responseType) |
<T> T |
JerseyInvocation.invoke(GenericType<T> responseType) |
<T> CompletionStage<T> |
JerseyCompletionStageRxInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType) |
<T> T |
JerseyInvocation.Builder.method(String name,
Entity<?> entity,
GenericType<T> responseType) |
<R> T |
AbstractRxInvoker.method(String name,
GenericType<R> responseType) |
<T> T |
JerseyInvocation.Builder.method(String name,
GenericType<T> responseType) |
<R> T |
AbstractRxInvoker.options(GenericType<R> responseType) |
<T> T |
JerseyInvocation.Builder.options(GenericType<T> responseType) |
<R> T |
AbstractRxInvoker.post(Entity<?> entity,
GenericType<R> type) |
<T> T |
JerseyInvocation.Builder.post(Entity<?> entity,
GenericType<T> responseType) |
<R> T |
AbstractRxInvoker.put(Entity<?> entity,
GenericType<R> type) |
<T> T |
JerseyInvocation.Builder.put(Entity<?> entity,
GenericType<T> responseType) |
<T> T |
ClientResponse.readEntity(GenericType<T> entityType)
Read the message entity input stream as an instance of specified Java type
using a
MessageBodyReader that supports mapping the
message entity stream onto the requested type. |
<T> T |
ClientResponse.readEntity(GenericType<T> entityType,
Annotation[] annotations)
Read the message entity input stream as an instance of specified Java type
using a
MessageBodyReader that supports mapping the
message entity stream onto the requested type. |
<T> Future<T> |
JerseyInvocation.submit(GenericType<T> responseType) |
<T> Future<T> |
JerseyInvocation.submit(GenericType<T> responseType,
InvocationCallback<T> callback)
Submit the request for an asynchronous invocation and register an
InvocationCallback to process the future result of the invocation. |
<R> T |
AbstractRxInvoker.trace(GenericType<R> responseType) |
<T> T |
JerseyInvocation.Builder.trace(GenericType<T> responseType) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkedOutput<T>
Used for sending messages in "typed" chunks.
|
Copyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.