Package com.artipie.management.api
Class ContentAsJson
- java.lang.Object
-
- com.artipie.management.api.ContentAsJson
-
- All Implemented Interfaces:
io.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,io.reactivex.Single<? extends javax.json.JsonObject>>
public final class ContentAsJson extends Object implements io.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,io.reactivex.Single<? extends javax.json.JsonObject>>
Rx publisher transformer to json.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description ContentAsJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Single<? extends javax.json.JsonObject>
apply(io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>> pub)
-
-
-
Method Detail
-
apply
public io.reactivex.Single<? extends javax.json.JsonObject> apply(io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>> pub)
- Specified by:
apply
in interfaceio.reactivex.functions.Function<io.reactivex.Single<? extends org.reactivestreams.Publisher<ByteBuffer>>,io.reactivex.Single<? extends javax.json.JsonObject>>
-
-