| Package | Description | 
|---|---|
| javax.ws.rs.client | 
 The Client API 
 | 
| Modifier and Type | Method and 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,
      String mediaType)
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 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. 
 | 
| Modifier and Type | Method and 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. 
 | 
Response | 
SyncInvoker.method(String name,
      Entity<?> entity)
Invoke an arbitrary method for the current request synchronously. 
 | 
T | 
RxInvoker.method(String name,
      Entity<?> entity)
Invoke an arbitrary method for the current request. 
 | 
CompletionStage<Response> | 
CompletionStageRxInvoker.method(String name,
      Entity<?> entity)  | 
Future<Response> | 
AsyncInvoker.method(String name,
      Entity<?> entity)
Invoke an arbitrary method for the current request asynchronously. 
 | 
<R> T | 
RxInvoker.method(String name,
      Entity<?> entity,
      Class<R> responseType)
Invoke an arbitrary method for the current request. 
 | 
<T> T | 
SyncInvoker.method(String name,
      Entity<?> entity,
      Class<T> responseType)
Invoke an arbitrary method for the current request synchronously. 
 | 
<T> CompletionStage<T> | 
CompletionStageRxInvoker.method(String name,
      Entity<?> entity,
      Class<T> responseType)  | 
<T> Future<T> | 
AsyncInvoker.method(String name,
      Entity<?> entity,
      Class<T> responseType)
Invoke an arbitrary method for the current request asynchronously. 
 | 
<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. 
 | 
<T> Future<T> | 
AsyncInvoker.method(String name,
      Entity<?> entity,
      InvocationCallback<T> callback)
Invoke an arbitrary method for the current request asynchronously. 
 | 
Response | 
SyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request synchronously. 
 | 
T | 
RxInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request. 
 | 
CompletionStage<Response> | 
CompletionStageRxInvoker.post(Entity<?> entity)  | 
Future<Response> | 
AsyncInvoker.post(Entity<?> entity)
Invoke HTTP POST method for the current request asynchronously. 
 | 
<R> T | 
RxInvoker.post(Entity<?> entity,
    Class<R> responseType)
Invoke HTTP POST method for the current request. 
 | 
<T> T | 
SyncInvoker.post(Entity<?> entity,
    Class<T> responseType)
Invoke HTTP POST method for the current request synchronously. 
 | 
<T> CompletionStage<T> | 
CompletionStageRxInvoker.post(Entity<?> entity,
    Class<T> clazz)  | 
<T> Future<T> | 
AsyncInvoker.post(Entity<?> entity,
    Class<T> responseType)
Invoke HTTP POST 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. 
 | 
<T> Future<T> | 
AsyncInvoker.post(Entity<?> entity,
    InvocationCallback<T> callback)
Invoke HTTP POST method for the current request asynchronously. 
 | 
Response | 
SyncInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request synchronously. 
 | 
T | 
RxInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request. 
 | 
CompletionStage<Response> | 
CompletionStageRxInvoker.put(Entity<?> entity)  | 
Future<Response> | 
AsyncInvoker.put(Entity<?> entity)
Invoke HTTP PUT method for the current request asynchronously. 
 | 
<R> T | 
RxInvoker.put(Entity<?> entity,
   Class<R> responseType)
Invoke HTTP PUT method for the current request. 
 | 
<T> T | 
SyncInvoker.put(Entity<?> entity,
   Class<T> responseType)
Invoke HTTP PUT method for the current request synchronously. 
 | 
<T> CompletionStage<T> | 
CompletionStageRxInvoker.put(Entity<?> entity,
   Class<T> clazz)  | 
<T> Future<T> | 
AsyncInvoker.put(Entity<?> entity,
   Class<T> responseType)
Invoke HTTP PUT 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> | 
AsyncInvoker.put(Entity<?> entity,
   InvocationCallback<T> callback)
Invoke HTTP PUT method for the current request asynchronously. 
 | 
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.