Uses of Class
jakarta.ws.rs.client.Entity
Package | Description |
---|---|
jakarta.ws.rs.client |
The JAX-RS client API
|
-
Uses of Entity in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return Entity Modifier and Type Method Description static <T> Entity<T>
Entity. entity(T entity, MediaType mediaType)
Create an entity using a supplied content media type.static <T> Entity<T>
Entity. entity(T entity, MediaType mediaType, Annotation[] annotations)
Create an entity using a supplied content media type.static <T> Entity<T>
Entity. entity(T entity, Variant variant)
Create an entity using a supplied content media type.static <T> Entity<T>
Entity. entity(T entity, Variant variant, Annotation[] annotations)
Create an entity using a supplied content media type.static <T> Entity<T>
Entity. entity(T entity, String mediaType)
Create an entity using a supplied content media type.static Entity<Form>
Entity. form(Form form)
Create an "application/x-www-form-urlencoded" form entity.static Entity<Form>
Entity. form(MultivaluedMap<String,String> formData)
Create an "application/x-www-form-urlencoded" form entity.static <T> Entity<T>
Entity. html(T entity)
Create a "text/html" entity.static <T> Entity<T>
Entity. json(T entity)
Create an "application/json" entity.static <T> Entity<T>
Entity. text(T entity)
Create a "text/plain" entity.static <T> Entity<T>
Entity. xhtml(T entity)
Create an "application/xhtml+xml" entity.static <T> Entity<T>
Entity. xml(T entity)
Create an "application/xml" entity.Methods in jakarta.ws.rs.client with parameters of type Entity Modifier and Type Method Description Invocation
Invocation.Builder. build(String method, Entity<?> entity)
Build a request invocation using an arbitrary request method name and request entity.Invocation
Invocation.Builder. buildPost(Entity<?> entity)
Build a POST request invocation.Invocation
Invocation.Builder. buildPut(Entity<?> entity)
Build a PUT request invocation.Future<Response>
AsyncInvoker. method(String name, Entity<?> entity)
Invoke an arbitrary method for the current request asynchronously.<T> Future<T>
AsyncInvoker. method(String name, Entity<?> entity, InvocationCallback<T> callback)
Invoke an arbitrary method for the current request asynchronously.<T> Future<T>
AsyncInvoker. method(String name, Entity<?> entity, GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.<T> Future<T>
AsyncInvoker. method(String name, Entity<?> entity, Class<T> responseType)
Invoke an arbitrary method for the current request asynchronously.CompletionStage<Response>
CompletionStageRxInvoker. method(String name, Entity<?> entity)
<T> CompletionStage<T>
CompletionStageRxInvoker. method(String name, Entity<?> entity, GenericType<T> responseType)
<T> CompletionStage<T>
CompletionStageRxInvoker. method(String name, Entity<?> entity, Class<T> responseType)
T
RxInvoker. method(String name, Entity<?> entity)
Invoke an arbitrary method for the current request.<R> T
RxInvoker. method(String name, Entity<?> entity, GenericType<R> responseType)
Invoke an arbitrary method for the current request.<R> T
RxInvoker. method(String name, Entity<?> entity, Class<R> responseType)
Invoke an arbitrary method for the current request.Response
SyncInvoker. method(String name, Entity<?> entity)
Invoke an arbitrary method for the current request synchronously.<T> T
SyncInvoker. method(String name, Entity<?> entity, GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously.<T> T
SyncInvoker. method(String name, Entity<?> entity, Class<T> responseType)
Invoke an arbitrary method for the current request synchronously.Future<Response>
AsyncInvoker. post(Entity<?> entity)
Invoke HTTP POST method for the current request asynchronously.<T> Future<T>
AsyncInvoker. post(Entity<?> entity, InvocationCallback<T> callback)
Invoke HTTP POST method for the current request asynchronously.<T> Future<T>
AsyncInvoker. post(Entity<?> entity, GenericType<T> responseType)
Invoke HTTP POST method for the current request asynchronously.<T> Future<T>
AsyncInvoker. post(Entity<?> entity, Class<T> responseType)
Invoke HTTP POST method for the current request asynchronously.CompletionStage<Response>
CompletionStageRxInvoker. post(Entity<?> entity)
<T> CompletionStage<T>
CompletionStageRxInvoker. post(Entity<?> entity, GenericType<T> type)
<T> CompletionStage<T>
CompletionStageRxInvoker. post(Entity<?> entity, Class<T> clazz)
T
RxInvoker. post(Entity<?> entity)
Invoke HTTP POST method for the current request.<R> T
RxInvoker. post(Entity<?> entity, GenericType<R> responseType)
Invoke HTTP POST method for the current request.<R> T
RxInvoker. post(Entity<?> entity, Class<R> responseType)
Invoke HTTP POST method for the current request.Response
SyncInvoker. post(Entity<?> entity)
Invoke HTTP POST method for the current request synchronously.<T> T
SyncInvoker. post(Entity<?> entity, GenericType<T> responseType)
Invoke HTTP POST method for the current request synchronously.<T> T
SyncInvoker. post(Entity<?> entity, Class<T> responseType)
Invoke HTTP POST method for the current request synchronously.Future<Response>
AsyncInvoker. put(Entity<?> entity)
Invoke HTTP PUT method for the current request asynchronously.<T> Future<T>
AsyncInvoker. put(Entity<?> entity, InvocationCallback<T> callback)
Invoke HTTP PUT method for the current request asynchronously.<T> Future<T>
AsyncInvoker. put(Entity<?> entity, GenericType<T> responseType)
Invoke HTTP PUT method for the current request asynchronously.<T> Future<T>
AsyncInvoker. put(Entity<?> entity, Class<T> responseType)
Invoke HTTP PUT method for the current request asynchronously.CompletionStage<Response>
CompletionStageRxInvoker. put(Entity<?> entity)
<T> CompletionStage<T>
CompletionStageRxInvoker. put(Entity<?> entity, GenericType<T> type)
<T> CompletionStage<T>
CompletionStageRxInvoker. put(Entity<?> entity, Class<T> clazz)
T
RxInvoker. put(Entity<?> entity)
Invoke HTTP PUT method for the current request.<R> T
RxInvoker. put(Entity<?> entity, GenericType<R> responseType)
Invoke HTTP PUT method for the current request.<R> T
RxInvoker. put(Entity<?> entity, Class<R> responseType)
Invoke HTTP PUT method for the current request.Response
SyncInvoker. put(Entity<?> entity)
Invoke HTTP PUT method for the current request synchronously.<T> T
SyncInvoker. put(Entity<?> entity, GenericType<T> responseType)
Invoke HTTP PUT method for the current request synchronously.<T> T
SyncInvoker. put(Entity<?> entity, Class<T> responseType)
Invoke HTTP PUT method for the current request synchronously.