Package com.artipie.management.api
Class ContentAsYaml
- java.lang.Object
-
- com.artipie.management.api.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 Summary
Constructors Constructor Description ContentAsYaml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Single<? extends com.amihaiemil.eoyaml.YamlMapping>
apply(io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>> content)
-
-
-
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 interfaceio.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,io.reactivex.Single<? extends com.amihaiemil.eoyaml.YamlMapping>>
-
-