Package org.jboss.resteasy.reactor
Class MonoRxInvokerImpl
- java.lang.Object
-
- org.jboss.resteasy.client.jaxrs.internal.PublisherRxInvokerImpl
-
- org.jboss.resteasy.reactor.MonoRxInvokerImpl
-
- All Implemented Interfaces:
javax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
,PublisherRxInvoker
,MonoRxInvoker
public class MonoRxInvokerImpl extends PublisherRxInvokerImpl implements MonoRxInvoker
-
-
Constructor Summary
Constructors Constructor Description MonoRxInvokerImpl(ClientInvocationBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<javax.ws.rs.core.Response>
delete()
<T> reactor.core.publisher.Mono<T>
delete(Class<T> responseType)
<T> reactor.core.publisher.Mono<T>
delete(javax.ws.rs.core.GenericType<T> responseType)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
get()
<T> reactor.core.publisher.Mono<T>
get(Class<T> responseType)
<T> reactor.core.publisher.Mono<T>
get(javax.ws.rs.core.GenericType<T> responseType)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
head()
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
method(String name)
<T> reactor.core.publisher.Mono<T>
method(String name, Class<T> responseType)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
method(String name, javax.ws.rs.client.Entity<?> entity)
<T> reactor.core.publisher.Mono<T>
method(String name, javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
<T> reactor.core.publisher.Mono<T>
method(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
<T> reactor.core.publisher.Mono<T>
method(String name, javax.ws.rs.core.GenericType<T> responseType)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
options()
<T> reactor.core.publisher.Mono<T>
options(Class<T> responseType)
<T> reactor.core.publisher.Mono<T>
options(javax.ws.rs.core.GenericType<T> responseType)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
post(javax.ws.rs.client.Entity<?> entity)
<T> reactor.core.publisher.Mono<T>
post(javax.ws.rs.client.Entity<?> entity, Class<T> clazz)
<T> reactor.core.publisher.Mono<T>
post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
put(javax.ws.rs.client.Entity<?> entity)
<T> reactor.core.publisher.Mono<T>
put(javax.ws.rs.client.Entity<?> entity, Class<T> clazz)
<T> reactor.core.publisher.Mono<T>
put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
protected <T> reactor.core.publisher.Mono<T>
toPublisher(CompletionStage<T> completable)
reactor.core.publisher.Mono<javax.ws.rs.core.Response>
trace()
<T> reactor.core.publisher.Mono<T>
trace(Class<T> responseType)
<T> reactor.core.publisher.Mono<T>
trace(javax.ws.rs.core.GenericType<T> responseType)
-
-
-
Constructor Detail
-
MonoRxInvokerImpl
public MonoRxInvokerImpl(ClientInvocationBuilder builder)
-
-
Method Detail
-
toPublisher
protected <T> reactor.core.publisher.Mono<T> toPublisher(CompletionStage<T> completable)
- Specified by:
toPublisher
in classPublisherRxInvokerImpl
-
get
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> get()
- Specified by:
get
in interfaceMonoRxInvoker
- Specified by:
get
in interfacePublisherRxInvoker
- Specified by:
get
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
get
in classPublisherRxInvokerImpl
-
get
public <T> reactor.core.publisher.Mono<T> get(Class<T> responseType)
- Specified by:
get
in interfaceMonoRxInvoker
- Specified by:
get
in interfacePublisherRxInvoker
- Specified by:
get
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
get
in classPublisherRxInvokerImpl
-
get
public <T> reactor.core.publisher.Mono<T> get(javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
get
in interfaceMonoRxInvoker
- Specified by:
get
in interfacePublisherRxInvoker
- Specified by:
get
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
get
in classPublisherRxInvokerImpl
-
put
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> put(javax.ws.rs.client.Entity<?> entity)
- Specified by:
put
in interfaceMonoRxInvoker
- Specified by:
put
in interfacePublisherRxInvoker
- Specified by:
put
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
put
in classPublisherRxInvokerImpl
-
put
public <T> reactor.core.publisher.Mono<T> put(javax.ws.rs.client.Entity<?> entity, Class<T> clazz)
- Specified by:
put
in interfaceMonoRxInvoker
- Specified by:
put
in interfacePublisherRxInvoker
- Specified by:
put
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
put
in classPublisherRxInvokerImpl
-
put
public <T> reactor.core.publisher.Mono<T> put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
- Specified by:
put
in interfaceMonoRxInvoker
- Specified by:
put
in interfacePublisherRxInvoker
- Specified by:
put
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
put
in classPublisherRxInvokerImpl
-
post
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> post(javax.ws.rs.client.Entity<?> entity)
- Specified by:
post
in interfaceMonoRxInvoker
- Specified by:
post
in interfacePublisherRxInvoker
- Specified by:
post
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
post
in classPublisherRxInvokerImpl
-
post
public <T> reactor.core.publisher.Mono<T> post(javax.ws.rs.client.Entity<?> entity, Class<T> clazz)
- Specified by:
post
in interfaceMonoRxInvoker
- Specified by:
post
in interfacePublisherRxInvoker
- Specified by:
post
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
post
in classPublisherRxInvokerImpl
-
post
public <T> reactor.core.publisher.Mono<T> post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
- Specified by:
post
in interfaceMonoRxInvoker
- Specified by:
post
in interfacePublisherRxInvoker
- Specified by:
post
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
post
in classPublisherRxInvokerImpl
-
delete
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> delete()
- Specified by:
delete
in interfaceMonoRxInvoker
- Specified by:
delete
in interfacePublisherRxInvoker
- Specified by:
delete
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
delete
in classPublisherRxInvokerImpl
-
delete
public <T> reactor.core.publisher.Mono<T> delete(Class<T> responseType)
- Specified by:
delete
in interfaceMonoRxInvoker
- Specified by:
delete
in interfacePublisherRxInvoker
- Specified by:
delete
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
delete
in classPublisherRxInvokerImpl
-
delete
public <T> reactor.core.publisher.Mono<T> delete(javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
delete
in interfaceMonoRxInvoker
- Specified by:
delete
in interfacePublisherRxInvoker
- Specified by:
delete
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
delete
in classPublisherRxInvokerImpl
-
head
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> head()
- Specified by:
head
in interfaceMonoRxInvoker
- Specified by:
head
in interfacePublisherRxInvoker
- Specified by:
head
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
head
in classPublisherRxInvokerImpl
-
options
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> options()
- Specified by:
options
in interfaceMonoRxInvoker
- Specified by:
options
in interfacePublisherRxInvoker
- Specified by:
options
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
options
in classPublisherRxInvokerImpl
-
options
public <T> reactor.core.publisher.Mono<T> options(Class<T> responseType)
- Specified by:
options
in interfaceMonoRxInvoker
- Specified by:
options
in interfacePublisherRxInvoker
- Specified by:
options
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
options
in classPublisherRxInvokerImpl
-
options
public <T> reactor.core.publisher.Mono<T> options(javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
options
in interfaceMonoRxInvoker
- Specified by:
options
in interfacePublisherRxInvoker
- Specified by:
options
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
options
in classPublisherRxInvokerImpl
-
trace
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> trace()
- Specified by:
trace
in interfaceMonoRxInvoker
- Specified by:
trace
in interfacePublisherRxInvoker
- Specified by:
trace
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
trace
in classPublisherRxInvokerImpl
-
trace
public <T> reactor.core.publisher.Mono<T> trace(Class<T> responseType)
- Specified by:
trace
in interfaceMonoRxInvoker
- Specified by:
trace
in interfacePublisherRxInvoker
- Specified by:
trace
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
trace
in classPublisherRxInvokerImpl
-
trace
public <T> reactor.core.publisher.Mono<T> trace(javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
trace
in interfaceMonoRxInvoker
- Specified by:
trace
in interfacePublisherRxInvoker
- Specified by:
trace
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
trace
in classPublisherRxInvokerImpl
-
method
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> method(String name)
- Specified by:
method
in interfaceMonoRxInvoker
- Specified by:
method
in interfacePublisherRxInvoker
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
method
in classPublisherRxInvokerImpl
-
method
public <T> reactor.core.publisher.Mono<T> method(String name, Class<T> responseType)
- Specified by:
method
in interfaceMonoRxInvoker
- Specified by:
method
in interfacePublisherRxInvoker
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
method
in classPublisherRxInvokerImpl
-
method
public <T> reactor.core.publisher.Mono<T> method(String name, javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
method
in interfaceMonoRxInvoker
- Specified by:
method
in interfacePublisherRxInvoker
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
method
in classPublisherRxInvokerImpl
-
method
public reactor.core.publisher.Mono<javax.ws.rs.core.Response> method(String name, javax.ws.rs.client.Entity<?> entity)
- Specified by:
method
in interfaceMonoRxInvoker
- Specified by:
method
in interfacePublisherRxInvoker
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
method
in classPublisherRxInvokerImpl
-
method
public <T> reactor.core.publisher.Mono<T> method(String name, javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
- Specified by:
method
in interfaceMonoRxInvoker
- Specified by:
method
in interfacePublisherRxInvoker
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
method
in classPublisherRxInvokerImpl
-
method
public <T> reactor.core.publisher.Mono<T> method(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
method
in interfaceMonoRxInvoker
- Specified by:
method
in interfacePublisherRxInvoker
- Specified by:
method
in interfacejavax.ws.rs.client.RxInvoker<org.reactivestreams.Publisher<?>>
- Overrides:
method
in classPublisherRxInvokerImpl
-
-