Class RxReactiveClientResultTransformer

java.lang.Object
io.micronaut.rxjava2.http.client.RxReactiveClientResultTransformer
All Implemented Interfaces:
io.micronaut.http.client.ReactiveClientResultTransformer

@Singleton @Requires(classes=io.reactivex.Flowable.class) @Internal @Indexed(io.micronaut.http.client.ReactiveClientResultTransformer.class) public class RxReactiveClientResultTransformer extends Object implements io.micronaut.http.client.ReactiveClientResultTransformer
Adds custom support for Maybe to handle NOT_FOUND results.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • RxReactiveClientResultTransformer

      public RxReactiveClientResultTransformer()
  • Method Details

    • transform

      public Object transform(Object publisherResult)
      Specified by:
      transform in interface io.micronaut.http.client.ReactiveClientResultTransformer