public final class ByteBufMono
extends reactor.core.publisher.MonoOperator<io.netty.buffer.ByteBuf,io.netty.buffer.ByteBuf>
| Modifier | Constructor and Description |
|---|---|
protected |
ByteBufMono(reactor.core.publisher.Mono<?> source) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<byte[]> |
asByteArray()
a byte[] inbound
Mono |
reactor.core.publisher.Mono<java.nio.ByteBuffer> |
asByteBuffer()
a
ByteBuffer inbound Mono |
reactor.core.publisher.Mono<java.io.InputStream> |
asInputStream()
Convert to an
InputStream inbound Mono |
reactor.core.publisher.Mono<java.lang.String> |
asString()
a
String inbound Mono |
reactor.core.publisher.Mono<java.lang.String> |
asString(java.nio.charset.Charset charset)
a
String inbound Mono |
ByteBufMono |
retain()
Disable auto memory release on each signal published in order to prevent premature
recycling when buffers are accumulated downstream (async).
|
void |
subscribe(reactor.core.CoreSubscriber<? super io.netty.buffer.ByteBuf> actual) |
and, as, block, block, blockOptional, blockOptional, cache, cache, cancelOn, cast, checkpoint, checkpoint, checkpoint, compose, concatWith, create, defaultIfEmpty, defer, delay, delay, delayElement, delayElement, delaySubscription, delaySubscription, delaySubscription, delayUntil, dematerialize, doAfterSuccessOrError, doAfterTerminate, doFinally, doOnCancel, doOnEach, doOnError, doOnError, doOnError, doOnNext, doOnRequest, doOnSubscribe, doOnSuccess, doOnSuccessOrError, doOnTerminate, elapsed, elapsed, empty, error, expand, expand, expandDeep, expandDeep, filter, filterWhen, first, first, flatMap, flatMapIterable, flatMapMany, flatMapMany, flux, from, fromCallable, fromCompletionStage, fromDirect, fromFuture, fromRunnable, fromSupplier, handle, hasElement, hide, ignoreElement, ignoreElements, just, justOrEmpty, justOrEmpty, log, log, log, log, log, log, map, materialize, mergeWith, name, never, ofType, onAssembly, onErrorMap, onErrorMap, onErrorMap, onErrorResume, onErrorResume, onErrorResume, onErrorReturn, onErrorReturn, onErrorReturn, onLastAssembly, onTerminateDetach, or, publish, publishOn, repeat, repeat, repeat, repeat, repeatWhen, repeatWhenEmpty, repeatWhenEmpty, retry, retry, retry, retry, retryWhen, sequenceEqual, sequenceEqual, sequenceEqual, single, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, subscriberContext, subscriberContext, subscriberContext, subscribeWith, switchIfEmpty, tag, take, take, takeUntilOther, then, then, thenEmpty, thenMany, thenReturn, timeout, timeout, timeout, timeout, timeout, timeout, timestamp, timestamp, toFuture, toProcessor, toString, transform, using, using, when, when, whenDelayError, whenDelayError, zip, zip, zip, zip, zip, zip, zip, zip, zipDelayError, zipDelayError, zipDelayError, zipDelayError, zipDelayError, zipDelayError, zipDelayError, zipWhen, zipWhen, zipWith, zipWithpublic final reactor.core.publisher.Mono<java.nio.ByteBuffer> asByteBuffer()
ByteBuffer inbound MonoByteBuffer inbound Monopublic final reactor.core.publisher.Mono<byte[]> asByteArray()
MonoMonopublic final reactor.core.publisher.Mono<java.lang.String> asString()
String inbound MonoString inbound Monopublic final reactor.core.publisher.Mono<java.lang.String> asString(java.nio.charset.Charset charset)
String inbound Monocharset - the decoding charsetString inbound Monopublic reactor.core.publisher.Mono<java.io.InputStream> asInputStream()
InputStream inbound MonoInputStream inbound Monopublic ByteBufMono retain()
ByteBufMono of retained ByteBufpublic void subscribe(reactor.core.CoreSubscriber<? super io.netty.buffer.ByteBuf> actual)
subscribe in class reactor.core.publisher.Mono<io.netty.buffer.ByteBuf>