Class ContentAsYaml

  • All Implemented Interfaces:
    io.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,​io.reactivex.Single<? extends com.amihaiemil.eoyaml.YamlMapping>>

    public final class ContentAsYaml
    extends Object
    implements io.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,​io.reactivex.Single<? extends com.amihaiemil.eoyaml.YamlMapping>>
    Rx publisher transformer to yaml mapping.
    Since:
    0.1
    • Constructor Detail

      • ContentAsYaml

        public ContentAsYaml()
    • Method Detail

      • apply

        public io.reactivex.Single<? extends com.amihaiemil.eoyaml.YamlMapping> apply​(io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>> content)
        Specified by:
        apply in interface io.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,​io.reactivex.Single<? extends com.amihaiemil.eoyaml.YamlMapping>>