Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<Response> |
delete()
Invoke HTTP DELETE method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
delete(java.lang.Class<T> responseType)
Invoke HTTP DELETE method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
get()
Invoke HTTP GET method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
get(java.lang.Class<T> responseType)
Invoke HTTP GET method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
get(GenericType<T> responseType)
Invoke HTTP GET method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
head()
Invoke HTTP HEAD method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
method(java.lang.String name)
Invoke an arbitrary method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
method(java.lang.String name,
java.lang.Class<T> responseType)
Invoke an arbitrary method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
method(java.lang.String name,
Entity<?> entity)
Invoke an arbitrary method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
method(java.lang.String name,
Entity<?> entity,
java.lang.Class<T> responseType)
Invoke an arbitrary method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
method(java.lang.String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
method(java.lang.String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
options()
Invoke HTTP OPTIONS method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
options(java.lang.Class<T> responseType)
Invoke HTTP OPTIONS method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
post(Entity<?> entity)
Invoke HTTP POST method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
post(Entity<?> entity,
java.lang.Class<T> clazz)
Invoke HTTP POST method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
post(Entity<?> entity,
GenericType<T> type)
Invoke HTTP POST method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
put(Entity<?> entity)
Invoke HTTP PUT method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
put(Entity<?> entity,
java.lang.Class<T> clazz)
Invoke HTTP PUT method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
put(Entity<?> entity,
GenericType<T> type)
Invoke HTTP PUT method for the current request.
|
java.util.concurrent.CompletionStage<Response> |
trace()
Invoke HTTP TRACE method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
trace(java.lang.Class<T> responseType)
Invoke HTTP TRACE method for the current request.
|
<T> java.util.concurrent.CompletionStage<T> |
trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request.
|
java.util.concurrent.CompletionStage<Response> get()
RxInvoker
<T> java.util.concurrent.CompletionStage<T> get(java.lang.Class<T> responseType)
RxInvoker
<T> java.util.concurrent.CompletionStage<T> get(GenericType<T> responseType)
RxInvoker
get
in interface RxInvoker<java.util.concurrent.CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.java.util.concurrent.CompletionStage<Response> put(Entity<?> entity)
RxInvoker
put
in interface RxInvoker<java.util.concurrent.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> java.util.concurrent.CompletionStage<T> put(Entity<?> entity, java.lang.Class<T> clazz)
RxInvoker
put
in interface RxInvoker<java.util.concurrent.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> java.util.concurrent.CompletionStage<T> put(Entity<?> entity, GenericType<T> type)
RxInvoker
put
in interface RxInvoker<java.util.concurrent.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.java.util.concurrent.CompletionStage<Response> post(Entity<?> entity)
RxInvoker
post
in interface RxInvoker<java.util.concurrent.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> java.util.concurrent.CompletionStage<T> post(Entity<?> entity, java.lang.Class<T> clazz)
RxInvoker
post
in interface RxInvoker<java.util.concurrent.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> java.util.concurrent.CompletionStage<T> post(Entity<?> entity, GenericType<T> type)
RxInvoker
post
in interface RxInvoker<java.util.concurrent.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.java.util.concurrent.CompletionStage<Response> delete()
RxInvoker
<T> java.util.concurrent.CompletionStage<T> delete(java.lang.Class<T> responseType)
RxInvoker
<T> java.util.concurrent.CompletionStage<T> delete(GenericType<T> responseType)
RxInvoker
delete
in interface RxInvoker<java.util.concurrent.CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.java.util.concurrent.CompletionStage<Response> head()
RxInvoker
java.util.concurrent.CompletionStage<Response> options()
RxInvoker
<T> java.util.concurrent.CompletionStage<T> options(java.lang.Class<T> responseType)
RxInvoker
<T> java.util.concurrent.CompletionStage<T> options(GenericType<T> responseType)
RxInvoker
options
in interface RxInvoker<java.util.concurrent.CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.java.util.concurrent.CompletionStage<Response> trace()
RxInvoker
<T> java.util.concurrent.CompletionStage<T> trace(java.lang.Class<T> responseType)
RxInvoker
<T> java.util.concurrent.CompletionStage<T> trace(GenericType<T> responseType)
RxInvoker
trace
in interface RxInvoker<java.util.concurrent.CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.java.util.concurrent.CompletionStage<Response> method(java.lang.String name)
RxInvoker
<T> java.util.concurrent.CompletionStage<T> method(java.lang.String name, java.lang.Class<T> responseType)
RxInvoker
<T> java.util.concurrent.CompletionStage<T> method(java.lang.String name, GenericType<T> responseType)
RxInvoker
method
in interface RxInvoker<java.util.concurrent.CompletionStage>
T
- generic response entity type.name
- method name.responseType
- representation of a generic Java type the response entity will be converted to.java.util.concurrent.CompletionStage<Response> method(java.lang.String name, Entity<?> entity)
RxInvoker
method
in interface RxInvoker<java.util.concurrent.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> java.util.concurrent.CompletionStage<T> method(java.lang.String name, Entity<?> entity, java.lang.Class<T> responseType)
RxInvoker
method
in interface RxInvoker<java.util.concurrent.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> java.util.concurrent.CompletionStage<T> method(java.lang.String name, Entity<?> entity, GenericType<T> responseType)
RxInvoker
method
in interface RxInvoker<java.util.concurrent.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.