public interface RxCompletionStageInvoker extends RxInvoker<CompletionStage>
CompletionStage
from Java 8.Modifier and Type | Method and Description |
---|---|
CompletionStage<javax.ws.rs.core.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(javax.ws.rs.core.GenericType<T> responseType)
Invoke HTTP DELETE method for the current request.
|
CompletionStage<javax.ws.rs.core.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(javax.ws.rs.core.GenericType<T> responseType)
Invoke HTTP GET method for the current request.
|
CompletionStage<javax.ws.rs.core.Response> |
head()
Invoke HTTP HEAD method for the current request.
|
CompletionStage<javax.ws.rs.core.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<javax.ws.rs.core.Response> |
method(String name,
javax.ws.rs.client.Entity<?> entity)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
javax.ws.rs.client.Entity<?> entity,
Class<T> responseType)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType)
Invoke an arbitrary method for the current request.
|
<T> CompletionStage<T> |
method(String name,
javax.ws.rs.core.GenericType<T> responseType)
Invoke an arbitrary method for the current request.
|
CompletionStage<javax.ws.rs.core.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(javax.ws.rs.core.GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request.
|
CompletionStage<javax.ws.rs.core.Response> |
post(javax.ws.rs.client.Entity<?> entity)
Invoke HTTP POST method for the current request.
|
<T> CompletionStage<T> |
post(javax.ws.rs.client.Entity<?> entity,
Class<T> clazz)
Invoke HTTP POST method for the current request.
|
<T> CompletionStage<T> |
post(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> type)
Invoke HTTP POST method for the current request.
|
CompletionStage<javax.ws.rs.core.Response> |
put(javax.ws.rs.client.Entity<?> entity)
Invoke HTTP PUT method for the current request.
|
<T> CompletionStage<T> |
put(javax.ws.rs.client.Entity<?> entity,
Class<T> clazz)
Invoke HTTP PUT method for the current request.
|
<T> CompletionStage<T> |
put(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> type)
Invoke HTTP PUT method for the current request.
|
CompletionStage<javax.ws.rs.core.Response> |
trace()
Invoke HTTP TRACE method for the current request.
|
<T> CompletionStage<T> |
trace(Class<T> responseType)
Invoke HTTP OPTIONS method for the current request.
|
<T> CompletionStage<T> |
trace(javax.ws.rs.core.GenericType<T> responseType)
Invoke HTTP TRACE method for the current request.
|
CompletionStage<javax.ws.rs.core.Response> get()
RxInvoker
get
in interface RxInvoker<CompletionStage>
<T> CompletionStage<T> get(Class<T> responseType)
RxInvoker
get
in interface RxInvoker<CompletionStage>
T
- response entity type.responseType
- Java type the response entity will be converted to.<T> CompletionStage<T> get(javax.ws.rs.core.GenericType<T> responseType)
RxInvoker
get
in interface RxInvoker<CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.CompletionStage<javax.ws.rs.core.Response> put(javax.ws.rs.client.Entity<?> entity)
RxInvoker
put
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(javax.ws.rs.client.Entity<?> entity, Class<T> clazz)
RxInvoker
put
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(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
RxInvoker
put
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<javax.ws.rs.core.Response> post(javax.ws.rs.client.Entity<?> entity)
RxInvoker
post
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(javax.ws.rs.client.Entity<?> entity, Class<T> clazz)
RxInvoker
post
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(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
RxInvoker
post
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<javax.ws.rs.core.Response> delete()
RxInvoker
delete
in interface RxInvoker<CompletionStage>
<T> CompletionStage<T> delete(Class<T> responseType)
RxInvoker
delete
in interface RxInvoker<CompletionStage>
T
- response entity type.responseType
- Java type the response entity will be converted to.<T> CompletionStage<T> delete(javax.ws.rs.core.GenericType<T> responseType)
RxInvoker
delete
in interface RxInvoker<CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.CompletionStage<javax.ws.rs.core.Response> head()
RxInvoker
head
in interface RxInvoker<CompletionStage>
CompletionStage<javax.ws.rs.core.Response> options()
RxInvoker
options
in interface RxInvoker<CompletionStage>
<T> CompletionStage<T> options(Class<T> responseType)
RxInvoker
options
in interface RxInvoker<CompletionStage>
T
- response entity type.responseType
- Java type the response entity will be converted to.<T> CompletionStage<T> options(javax.ws.rs.core.GenericType<T> responseType)
RxInvoker
options
in interface RxInvoker<CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.CompletionStage<javax.ws.rs.core.Response> trace()
RxInvoker
trace
in interface RxInvoker<CompletionStage>
<T> CompletionStage<T> trace(Class<T> responseType)
RxInvoker
trace
in interface RxInvoker<CompletionStage>
T
- response entity type.responseType
- Java type the response entity will be converted to.<T> CompletionStage<T> trace(javax.ws.rs.core.GenericType<T> responseType)
RxInvoker
trace
in interface RxInvoker<CompletionStage>
T
- generic response entity type.responseType
- representation of a generic Java type the response entity will be converted to.CompletionStage<javax.ws.rs.core.Response> method(String name)
RxInvoker
method
in interface RxInvoker<CompletionStage>
name
- method name.<T> CompletionStage<T> method(String name, Class<T> responseType)
RxInvoker
method
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, javax.ws.rs.core.GenericType<T> responseType)
RxInvoker
method
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<javax.ws.rs.core.Response> method(String name, javax.ws.rs.client.Entity<?> entity)
RxInvoker
method
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, javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
RxInvoker
method
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, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
RxInvoker
method
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 © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.