Uses of Class
jakarta.ws.rs.client.Entity
-
Uses of Entity in jakarta.ws.rs.client
Modifier and TypeMethodDescriptionstatic <T> Entity<T>
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>
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>
Create an entity using a supplied content media type.Create an "application/x-www-form-urlencoded" form entity.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.Modifier and TypeMethodDescriptionBuild a request invocation using an arbitrary request method name and request entity.Build a POST request invocation.Build a PUT request invocation.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>
Invoke an arbitrary method for the current request asynchronously.<T> CompletionStage<T>
CompletionStageRxInvoker.method
(String name, Entity<?> entity, GenericType<T> responseType) <T> CompletionStage<T>
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
Invoke an arbitrary method for the current request.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
Invoke an arbitrary method for the current request synchronously.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>
Invoke HTTP POST method for the current request asynchronously.<T> CompletionStage<T>
CompletionStageRxInvoker.post
(Entity<?> entity, GenericType<T> type) <T> CompletionStage<T>
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
Invoke HTTP POST method for the current request.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
Invoke HTTP POST method for the current request synchronously.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>
Invoke HTTP PUT method for the current request asynchronously.<T> CompletionStage<T>
CompletionStageRxInvoker.put
(Entity<?> entity, GenericType<T> type) <T> CompletionStage<T>
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
Invoke HTTP PUT method for the current request.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
Invoke HTTP PUT method for the current request synchronously.