Package | Description |
---|---|
jakarta.ws.rs.client |
The JAX-RS client API
|
jakarta.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service resources.
|
jakarta.ws.rs.sse |
Server-Sent Events related API.
|
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> CompletionStage<T> |
CompletionStageRxInvoker.delete(GenericType<T> responseType) |
<T> Future<T> |
AsyncInvoker.delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.get(GenericType<T> responseType) |
<T> Future<T> |
AsyncInvoker.get(GenericType<T> responseType)
Invoke HTTP GET method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType) |
<T> Future<T> |
AsyncInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.method(String name,
GenericType<T> responseType) |
<T> Future<T> |
AsyncInvoker.method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.options(GenericType<T> responseType) |
<T> Future<T> |
AsyncInvoker.options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.post(Entity<?> entity,
GenericType<T> type) |
<T> Future<T> |
AsyncInvoker.post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.put(Entity<?> entity,
GenericType<T> type) |
<T> Future<T> |
AsyncInvoker.put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request asynchronously.
|
<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> CompletionStage<T> |
CompletionStageRxInvoker.trace(GenericType<T> responseType) |
<T> Future<T> |
AsyncInvoker.trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request asynchronously.
|
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.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.