Class MonoReactiveSubscriber<T>

java.lang.Object
io.rxson.rxrest.FlowSubscriber
io.rxson.rxrest.MonoReactiveSubscriber<T>
Type Parameters:
T - the subscribed item type

A receiver of http messages (stream chunks), and Publisher of chunks as POJOs accordingly

All Implemented Interfaces:
Flow.Subscriber<List<ByteBuffer>>

public final class MonoReactiveSubscriber<T>
extends FlowSubscriber
Author:
Mohamed Aly Bou Hanane © 2020
  • Constructor Details

    • MonoReactiveSubscriber

      public MonoReactiveSubscriber​(Class<T> clazz, org.jsfr.json.JsonSurfer surfer, String jsonPath)
      Parameters:
      clazz - Target class
      surfer - the JsonSurfer provider (e.g., JacksonParser.INSTANCE)
      jsonPath - json path expression (e.g., $[*].Airport)
  • Method Details

    • getStreamInstance

      public FlowablePath<T> getStreamInstance()
      Get the instance of Target type
      Returns:
      FlowablePath of target type
    • getRxPaths

      public Collection<Streamable> getRxPaths()