public class AsynchronousInvoke extends Object implements javax.ws.rs.client.AsyncInvoker
Modifier and Type | Field and Description |
---|---|
protected ClientInvocation |
invocation |
Constructor and Description |
---|
AsynchronousInvoke(ClientInvocation invocation) |
Modifier and Type | Method and Description |
---|---|
Future<javax.ws.rs.core.Response> |
delete() |
<T> Future<T> |
delete(Class<T> responseType) |
<T> Future<T> |
delete(javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
delete(javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
get() |
<T> Future<T> |
get(Class<T> responseType) |
<T> Future<T> |
get(javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
get(javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
head() |
Future<javax.ws.rs.core.Response> |
head(javax.ws.rs.client.InvocationCallback<javax.ws.rs.core.Response> callback) |
Future<javax.ws.rs.core.Response> |
method(String name) |
<T> Future<T> |
method(String name,
Class<T> responseType) |
Future<javax.ws.rs.core.Response> |
method(String name,
javax.ws.rs.client.Entity<?> entity) |
<T> Future<T> |
method(String name,
javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> Future<T> |
method(String name,
javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
method(String name,
javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.client.InvocationCallback<T> callback) |
<T> Future<T> |
method(String name,
javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
method(String name,
javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
options() |
<T> Future<T> |
options(Class<T> responseType) |
<T> Future<T> |
options(javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
options(javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
patch(javax.ws.rs.client.Entity<?> entity) |
<T> Future<T> |
patch(javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> Future<T> |
patch(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
patch(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
post(javax.ws.rs.client.Entity<?> entity) |
<T> Future<T> |
post(javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> Future<T> |
post(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
post(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
put(javax.ws.rs.client.Entity<?> entity) |
<T> Future<T> |
put(javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> Future<T> |
put(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
put(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.client.InvocationCallback<T> callback) |
Future<javax.ws.rs.core.Response> |
trace() |
<T> Future<T> |
trace(Class<T> responseType) |
<T> Future<T> |
trace(javax.ws.rs.core.GenericType<T> responseType) |
<T> Future<T> |
trace(javax.ws.rs.client.InvocationCallback<T> callback) |
protected ClientInvocation invocation
public AsynchronousInvoke(ClientInvocation invocation)
public Future<javax.ws.rs.core.Response> get()
get
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> get(Class<T> responseType)
get
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> get(javax.ws.rs.core.GenericType<T> responseType)
get
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> get(javax.ws.rs.client.InvocationCallback<T> callback)
get
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> trace()
trace
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> trace(Class<T> responseType)
trace
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> trace(javax.ws.rs.core.GenericType<T> responseType)
trace
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> trace(javax.ws.rs.client.InvocationCallback<T> callback)
trace
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> put(javax.ws.rs.client.Entity<?> entity)
put
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> put(javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
put
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
put
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.client.InvocationCallback<T> callback)
put
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> post(javax.ws.rs.client.Entity<?> entity)
post
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> post(javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
post
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
post
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.client.InvocationCallback<T> callback)
post
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> delete()
delete
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> delete(Class<T> responseType)
delete
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> delete(javax.ws.rs.core.GenericType<T> responseType)
delete
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> delete(javax.ws.rs.client.InvocationCallback<T> callback)
delete
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> head()
head
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> head(javax.ws.rs.client.InvocationCallback<javax.ws.rs.core.Response> callback)
head
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> options()
options
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> options(Class<T> responseType)
options
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> options(javax.ws.rs.core.GenericType<T> responseType)
options
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> options(javax.ws.rs.client.InvocationCallback<T> callback)
options
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> method(String name)
method
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> method(String name, Class<T> responseType)
method
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> method(String name, javax.ws.rs.core.GenericType<T> responseType)
method
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> method(String name, javax.ws.rs.client.InvocationCallback<T> callback)
method
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> method(String name, javax.ws.rs.client.Entity<?> entity)
method
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> method(String name, javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
method
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> method(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
method
in interface javax.ws.rs.client.AsyncInvoker
public <T> Future<T> method(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.client.InvocationCallback<T> callback)
method
in interface javax.ws.rs.client.AsyncInvoker
public Future<javax.ws.rs.core.Response> patch(javax.ws.rs.client.Entity<?> entity)
public <T> Future<T> patch(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
public <T> Future<T> patch(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.client.InvocationCallback<T> callback)
Copyright © 2021 JBoss by Red Hat. All rights reserved.