| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestBidirectional(org.reactivestreams.Publisher<ServiceMessage> publisher)
Issues stream of service requests to service which returns stream of service messages back.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestBidirectional(org.reactivestreams.Publisher<ServiceMessage> publisher,
Type responseType)
Issues stream of service requests to service which returns stream of service messages back.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestMany(ServiceMessage request)
Issues request to service which returns stream of service messages back.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestMany(ServiceMessage request,
Type responseType)
Issues request to service which returns stream of service messages back.
|
reactor.core.publisher.Mono<ServiceMessage> |
ServiceCall.requestOne(ServiceMessage request)
Issues request-and-reply request.
|
reactor.core.publisher.Mono<ServiceMessage> |
ServiceCall.requestOne(ServiceMessage request,
Type responseType)
Issues request-and-reply request.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
ServiceCall.oneWay(ServiceMessage request)
Issues fire-and-forget request.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestMany(ServiceMessage request)
Issues request to service which returns stream of service messages back.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestMany(ServiceMessage request,
Type responseType)
Issues request to service which returns stream of service messages back.
|
reactor.core.publisher.Mono<ServiceMessage> |
ServiceCall.requestOne(ServiceMessage request)
Issues request-and-reply request.
|
reactor.core.publisher.Mono<ServiceMessage> |
ServiceCall.requestOne(ServiceMessage request,
Type responseType)
Issues request-and-reply request.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestBidirectional(org.reactivestreams.Publisher<ServiceMessage> publisher)
Issues stream of service requests to service which returns stream of service messages back.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceCall.requestBidirectional(org.reactivestreams.Publisher<ServiceMessage> publisher,
Type responseType)
Issues stream of service requests to service which returns stream of service messages back.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceMessage |
ServiceMessage.Builder.build() |
static ServiceMessage |
ServiceMessage.error(String qualifier,
int errorType,
int errorCode,
String errorMessage)
Instantiates new message with error qualifier for given error type and specified error code and
message.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceMessage.Builder |
ServiceMessage.from(ServiceMessage message)
Instantiates new message with the same data and headers as at given message.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceMessage |
ServiceProviderErrorMapper.toMessage(String qualifier,
Throwable throwable)
Maps an exception to a
ServiceMessage. |
ServiceMessage |
DefaultErrorMapper.toMessage(String qualifier,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
ServiceClientErrorMapper.toError(ServiceMessage message)
Maps service message to an exception.
|
Throwable |
DefaultErrorMapper.toError(ServiceMessage message) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceMethodInvoker.invokeBidirectional(org.reactivestreams.Publisher<ServiceMessage> publisher)
Invokes service method with bidirectional communication.
|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceMethodInvoker.invokeMany(ServiceMessage message)
Invokes service method with message stream response.
|
reactor.core.publisher.Mono<ServiceMessage> |
ServiceMethodInvoker.invokeOne(ServiceMessage message)
Invokes service method with single response.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceMethodInvoker.invokeMany(ServiceMessage message)
Invokes service method with message stream response.
|
reactor.core.publisher.Mono<ServiceMessage> |
ServiceMethodInvoker.invokeOne(ServiceMessage message)
Invokes service method with single response.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ServiceMethodInvoker.invokeBidirectional(org.reactivestreams.Publisher<ServiceMessage> publisher)
Invokes service method with bidirectional communication.
|
| Modifier and Type | Method and Description |
|---|---|
List<ServiceReference> |
ServiceRegistry.lookupService(ServiceMessage request) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ServiceReference> |
Router.route(ServiceRegistry serviceRegistry,
ServiceMessage request)
Returns suitable service references for a given request message.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ClientChannel.requestChannel(org.reactivestreams.Publisher<ServiceMessage> publisher,
Type responseType) |
reactor.core.publisher.Mono<ServiceMessage> |
ClientChannel.requestResponse(ServiceMessage message,
Type responseType) |
reactor.core.publisher.Flux<ServiceMessage> |
ClientChannel.requestStream(ServiceMessage message,
Type responseType) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<ServiceMessage> |
ClientChannel.requestResponse(ServiceMessage message,
Type responseType) |
reactor.core.publisher.Flux<ServiceMessage> |
ClientChannel.requestStream(ServiceMessage message,
Type responseType) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ServiceMessage> |
ClientChannel.requestChannel(org.reactivestreams.Publisher<ServiceMessage> publisher,
Type responseType) |
Copyright © 2015–2021. All rights reserved.