Class CharBufferToLineFlowableTransformer

java.lang.Object
org.forgerock.openig.reactive.CharBufferToLineFlowableTransformer
All Implemented Interfaces:
io.reactivex.rxjava3.core.FlowableTransformer<CharBuffer,String>

public class CharBufferToLineFlowableTransformer extends Object implements io.reactivex.rxjava3.core.FlowableTransformer<CharBuffer,String>
Transforms a Flowable of CharBuffer into a Flowable of String, by splitting on EOL chars ('\r' and '\n').
See Also:
  • Constructor Details

    • CharBufferToLineFlowableTransformer

      public CharBufferToLineFlowableTransformer()
  • Method Details

    • apply

      @NonNull public @NonNull org.reactivestreams.Publisher<String> apply(@NonNull @NonNull io.reactivex.rxjava3.core.Flowable<CharBuffer> upstream)
      Specified by:
      apply in interface io.reactivex.rxjava3.core.FlowableTransformer<CharBuffer,String>