public interface CompletionStageRxInvoker extends RxInvoker<CompletionStage>
CompletionStage.| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Response> |
delete()
Invoke HTTP DELETE method for the current request.
|
<T> CompletionStage<T> |
delete(Class<T> responseType)
Invoke HTTP DELETE method for the current request.
|
<T> CompletionStage<T> |
delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request.
|
CompletionStage<Response> |
get()
Invoke HTTP GET method for the current request.
|
<T> CompletionStage<T> |
get(Class<T> responseType)
Invoke HTTP GET method for the current request.
|
<T> CompletionStage<T> |
get(GenericType<T> responseType)
Invoke HTTP GET method for the current request.
|
CompletionStage<Response> |
head()
Invoke HTTP HEAD method for the current request.
|
CompletionStage<Response> |
method(String name)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
Class<T> responseType)
Invoke an arbitrary method for the current request.
|
CompletionStage<Response> |
method(String name,
Entity<?> entity)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
Entity<?> entity,
Class<T> responseType)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request.
|
CompletionStage<Response> |
options()
Invoke HTTP OPTIONS method for the current request.
|
<T> CompletionStage<T> |
options(Class<T> responseType)
Invoke HTTP OPTIONS method for the current request.
|
<T> CompletionStage<T> |
options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request.
|
CompletionStage<Response> |
post(Entity<?> entity)
Invoke HTTP POST method for the current request.
|
<T> CompletionStage<T> |
post(Entity<?> entity,
Class<T> clazz)
Invoke HTTP POST method for the current request.
|
<T> CompletionStage<T> |
post(Entity<?> entity,
GenericType<T> type)
Invoke HTTP POST method for the current request.
|
CompletionStage<Response> |
put(Entity<?> entity)
Invoke HTTP PUT method for the current request.
|
<T> CompletionStage<T> |
put(Entity<?> entity,
Class<T> clazz)
Invoke HTTP PUT method for the current request.
|
<T> CompletionStage<T> |
put(Entity<?> entity,
GenericType<T> type)
Invoke HTTP PUT method for the current request.
|
CompletionStage<Response> |
trace()
Invoke HTTP TRACE method for the current request.
|
<T> CompletionStage<T> |
trace(Class<T> responseType)
Invoke HTTP TRACE method for the current request.
|
<T> CompletionStage<T> |
trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request.
|
CompletionStage<Response> get()
RxInvokerget in interface RxInvoker<CompletionStage><T> CompletionStage<T> get(Class<T> responseType)
RxInvokerget in interface RxInvoker<CompletionStage>T - response entity type.responseType - Java type the response entity will be converted to.<T> CompletionStage<T> get(GenericType<T> responseType)
RxInvokerget in interface RxInvoker<CompletionStage>T - generic response entity type.responseType - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> put(Entity<?> entity)
RxInvokerput in interface RxInvoker<CompletionStage>entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.<T> CompletionStage<T> put(Entity<?> entity, Class<T> clazz)
RxInvokerput in interface RxInvoker<CompletionStage>T - response entity type.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.clazz - Java type the response entity will be converted to.<T> CompletionStage<T> put(Entity<?> entity, GenericType<T> type)
RxInvokerput in interface RxInvoker<CompletionStage>T - generic response entity type.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.type - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> post(Entity<?> entity)
RxInvokerpost in interface RxInvoker<CompletionStage>entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.<T> CompletionStage<T> post(Entity<?> entity, Class<T> clazz)
RxInvokerpost in interface RxInvoker<CompletionStage>T - response entity type.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.clazz - Java type the response entity will be converted to.<T> CompletionStage<T> post(Entity<?> entity, GenericType<T> type)
RxInvokerpost in interface RxInvoker<CompletionStage>T - generic response entity type.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.type - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> delete()
RxInvokerdelete in interface RxInvoker<CompletionStage><T> CompletionStage<T> delete(Class<T> responseType)
RxInvokerdelete in interface RxInvoker<CompletionStage>T - response entity type.responseType - Java type the response entity will be converted to.<T> CompletionStage<T> delete(GenericType<T> responseType)
RxInvokerdelete in interface RxInvoker<CompletionStage>T - generic response entity type.responseType - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> head()
RxInvokerhead in interface RxInvoker<CompletionStage>CompletionStage<Response> options()
RxInvokeroptions in interface RxInvoker<CompletionStage><T> CompletionStage<T> options(Class<T> responseType)
RxInvokeroptions in interface RxInvoker<CompletionStage>T - response entity type.responseType - Java type the response entity will be converted to.<T> CompletionStage<T> options(GenericType<T> responseType)
RxInvokeroptions in interface RxInvoker<CompletionStage>T - generic response entity type.responseType - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> trace()
RxInvokertrace in interface RxInvoker<CompletionStage><T> CompletionStage<T> trace(Class<T> responseType)
RxInvokertrace in interface RxInvoker<CompletionStage>T - response entity type.responseType - Java type the response entity will be converted to.<T> CompletionStage<T> trace(GenericType<T> responseType)
RxInvokertrace in interface RxInvoker<CompletionStage>T - generic response entity type.responseType - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> method(String name)
RxInvokermethod in interface RxInvoker<CompletionStage>name - method name.<T> CompletionStage<T> method(String name, Class<T> responseType)
RxInvokermethod in interface RxInvoker<CompletionStage>T - response entity type.name - method name.responseType - Java type the response entity will be converted to.<T> CompletionStage<T> method(String name, GenericType<T> responseType)
RxInvokermethod in interface RxInvoker<CompletionStage>T - generic response entity type.name - method name.responseType - representation of a generic Java type the response entity will be converted to.CompletionStage<Response> method(String name, Entity<?> entity)
RxInvokermethod in interface RxInvoker<CompletionStage>name - method name.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.<T> CompletionStage<T> method(String name, Entity<?> entity, Class<T> responseType)
RxInvokermethod in interface RxInvoker<CompletionStage>T - response entity type.name - method name.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.responseType - Java type the response entity will be converted to.<T> CompletionStage<T> method(String name, Entity<?> entity, GenericType<T> responseType)
RxInvokermethod in interface RxInvoker<CompletionStage>T - generic response entity type.name - method name.entity - request entity, including it's full Variant information.
Any variant-related HTTP headers previously set (namely Content-Type,
Content-Language and Content-Encoding) will be overwritten using
the entity variant information.responseType - representation of a generic Java type the response entity will be converted to.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.