Package org.osgi.service.jaxrs.client
Interface PromiseRxInvoker
-
- All Superinterfaces:
javax.ws.rs.client.RxInvoker<Promise>
@ProviderType public interface PromiseRxInvoker extends javax.ws.rs.client.RxInvoker<Promise>
A specialization of theRxInvoker
which createsPromise
instances.Bundles may obtain an instance of a
PromiseRxInvoker
using aClientBuilder
obtained from the service registry and calling theInvocation.Builder.rx(Class)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<javax.ws.rs.core.Response>
delete()
<R> Promise<R>
delete(java.lang.Class<R> arg0)
<R> Promise<R>
delete(javax.ws.rs.core.GenericType<R> arg0)
Promise<javax.ws.rs.core.Response>
get()
<R> Promise<R>
get(java.lang.Class<R> arg0)
<R> Promise<R>
get(javax.ws.rs.core.GenericType<R> arg0)
Promise<javax.ws.rs.core.Response>
head()
Promise<javax.ws.rs.core.Response>
method(java.lang.String arg0)
<R> Promise<R>
method(java.lang.String arg0, java.lang.Class<R> arg1)
Promise<javax.ws.rs.core.Response>
method(java.lang.String arg0, javax.ws.rs.client.Entity<?> arg1)
<R> Promise<R>
method(java.lang.String arg0, javax.ws.rs.client.Entity<?> arg1, java.lang.Class<R> arg2)
<R> Promise<R>
method(java.lang.String arg0, javax.ws.rs.client.Entity<?> arg1, javax.ws.rs.core.GenericType<R> arg2)
<R> Promise<R>
method(java.lang.String arg0, javax.ws.rs.core.GenericType<R> arg1)
Promise<javax.ws.rs.core.Response>
options()
<R> Promise<R>
options(java.lang.Class<R> arg0)
<R> Promise<R>
options(javax.ws.rs.core.GenericType<R> arg0)
Promise<javax.ws.rs.core.Response>
post(javax.ws.rs.client.Entity<?> arg0)
<R> Promise<R>
post(javax.ws.rs.client.Entity<?> arg0, java.lang.Class<R> arg1)
<R> Promise<R>
post(javax.ws.rs.client.Entity<?> arg0, javax.ws.rs.core.GenericType<R> arg1)
Promise<javax.ws.rs.core.Response>
put(javax.ws.rs.client.Entity<?> arg0)
<R> Promise<R>
put(javax.ws.rs.client.Entity<?> arg0, java.lang.Class<R> arg1)
<R> Promise<R>
put(javax.ws.rs.client.Entity<?> arg0, javax.ws.rs.core.GenericType<R> arg1)
Promise<javax.ws.rs.core.Response>
trace()
<R> Promise<R>
trace(java.lang.Class<R> arg0)
<R> Promise<R>
trace(javax.ws.rs.core.GenericType<R> arg0)
-
-
-
Method Detail
-
delete
Promise<javax.ws.rs.core.Response> delete()
- Specified by:
delete
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
delete
<R> Promise<R> delete(java.lang.Class<R> arg0)
- Specified by:
delete
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
delete
<R> Promise<R> delete(javax.ws.rs.core.GenericType<R> arg0)
- Specified by:
delete
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
get
Promise<javax.ws.rs.core.Response> get()
- Specified by:
get
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
get
<R> Promise<R> get(java.lang.Class<R> arg0)
- Specified by:
get
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
get
<R> Promise<R> get(javax.ws.rs.core.GenericType<R> arg0)
- Specified by:
get
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
head
Promise<javax.ws.rs.core.Response> head()
- Specified by:
head
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
method
<R> Promise<R> method(java.lang.String arg0, java.lang.Class<R> arg1)
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
method
<R> Promise<R> method(java.lang.String arg0, javax.ws.rs.client.Entity<?> arg1, java.lang.Class<R> arg2)
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
method
<R> Promise<R> method(java.lang.String arg0, javax.ws.rs.client.Entity<?> arg1, javax.ws.rs.core.GenericType<R> arg2)
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
method
Promise<javax.ws.rs.core.Response> method(java.lang.String arg0, javax.ws.rs.client.Entity<?> arg1)
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
method
<R> Promise<R> method(java.lang.String arg0, javax.ws.rs.core.GenericType<R> arg1)
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
method
Promise<javax.ws.rs.core.Response> method(java.lang.String arg0)
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
options
Promise<javax.ws.rs.core.Response> options()
- Specified by:
options
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
options
<R> Promise<R> options(java.lang.Class<R> arg0)
- Specified by:
options
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
options
<R> Promise<R> options(javax.ws.rs.core.GenericType<R> arg0)
- Specified by:
options
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
post
<R> Promise<R> post(javax.ws.rs.client.Entity<?> arg0, java.lang.Class<R> arg1)
- Specified by:
post
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
post
<R> Promise<R> post(javax.ws.rs.client.Entity<?> arg0, javax.ws.rs.core.GenericType<R> arg1)
- Specified by:
post
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
post
Promise<javax.ws.rs.core.Response> post(javax.ws.rs.client.Entity<?> arg0)
- Specified by:
post
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
put
<R> Promise<R> put(javax.ws.rs.client.Entity<?> arg0, java.lang.Class<R> arg1)
- Specified by:
put
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
put
<R> Promise<R> put(javax.ws.rs.client.Entity<?> arg0, javax.ws.rs.core.GenericType<R> arg1)
- Specified by:
put
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
put
Promise<javax.ws.rs.core.Response> put(javax.ws.rs.client.Entity<?> arg0)
- Specified by:
put
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
trace
Promise<javax.ws.rs.core.Response> trace()
- Specified by:
trace
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
trace
<R> Promise<R> trace(java.lang.Class<R> arg0)
- Specified by:
trace
in interfacejavax.ws.rs.client.RxInvoker<Promise>
-
-