Uses of Interface
io.helidon.common.reactive.Single
-
Packages that use Single Package Description io.helidon.common.reactive Common reactive library for Helidon projects.io.helidon.media.common Common classes for processing content with a specificMediaType
. -
-
Uses of Single in io.helidon.common.reactive
Methods in io.helidon.common.reactive that return Single Modifier and Type Method Description default <U> Single<U>
Multi. collect(Collector<T,U> collector)
default Single<List<T>>
Multi. collectList()
static <T> Single<T>
Single. empty()
Get aSingle
instance that completes immediately.static <T> Single<T>
Single. error(Throwable error)
Create aSingle
instance that reports the given given exception to its subscriber(s).default Single<T>
Multi. first()
static <T> Single<T>
Single. from(Flow.Publisher<T> source)
Create aSingle
instance that publishes the first and only item received from the given publisher.static <T> Single<T>
Single. just(T item)
Create aSingle
instance that publishes the given item to its subscriber(s).default <U> Single<U>
Single. map(Mapper<T,U> mapper)
static <T> Single<T>
Single. never()
Get aSingle
instance that never completes. -
Uses of Single in io.helidon.media.common
Methods in io.helidon.media.common that return Single Modifier and Type Method Description static Single<byte[]>
ContentReaders. readBytes(Flow.Publisher<DataChunk> chunks)
Collect theDataChunk
of the given publisher into a single byte array.static Single<String>
ContentReaders. readString(Flow.Publisher<DataChunk> chunks, Charset charset)
static Single<String>
ContentReaders. readURLEncodedString(Flow.Publisher<DataChunk> chunks, Charset charset)
static Single<DataChunk>
ContentWriters. writeBytes(byte[] bytes, boolean copy)
static Single<DataChunk>
ContentWriters. writeCharBuffer(CharBuffer buffer, Charset charset)
static Single<DataChunk>
ContentWriters. writeCharSequence(CharSequence cs, Charset charset)
-