Scannable.Attrsource| Modifier and Type | Method and Description |
|---|---|
ByteBufMono |
aggregate()
Aggregate subsequent byte buffers into a single buffer.
|
Flux<byte[]> |
asByteArray()
Convert to a byte[] inbound
Flux |
Flux<ByteBuffer> |
asByteBuffer()
Convert to a
ByteBuffer inbound Flux |
Flux<InputStream> |
asInputStream()
Convert to a
InputStream inbound Flux |
Flux<String> |
asString()
|
Flux<String> |
asString(Charset charset)
|
static ByteBufFlux |
fromInbound(Publisher<?> source)
Decorate as
ByteBufFlux |
static ByteBufFlux |
fromInbound(Publisher<?> source,
ByteBufAllocator allocator)
Decorate as
ByteBufFlux |
static ByteBufFlux |
fromPath(Path path)
Open a
FileChannel from a path and stream
ByteBuf chunks with a default maximum size of 500K into
the returned ByteBufFlux |
static ByteBufFlux |
fromPath(Path path,
ByteBufAllocator allocator)
Open a
FileChannel from a path and stream
ByteBuf chunks with a default maximum size of 500K into the returned
ByteBufFlux, using the provided ByteBufAllocator. |
static ByteBufFlux |
fromPath(Path path,
int maxChunkSize)
Open a
FileChannel from a path and stream
ByteBuf chunks with a given maximum size into the returned ByteBufFlux |
static ByteBufFlux |
fromPath(Path path,
int maxChunkSize,
ByteBufAllocator allocator)
Open a
FileChannel from a path and stream
ByteBuf chunks with a given maximum size into the returned
ByteBufFlux, using the provided ByteBufAllocator. |
ByteBufMono |
multicast()
Allow multiple consumers downstream of the flux while also disabling auto memory
release on each buffer published (retaining in order to prevent premature recycling).
|
ByteBufFlux |
retain()
Disable auto memory release on each buffer published, retaining in order to prevent
premature recycling when buffers are accumulated downstream (async).
|
void |
subscribe(Subscriber<? super ByteBuf> s) |
scan, toString, upstream, wrapall, any, as, awaitOnSubscribe, blockFirst, blockFirst, blockFirstMillis, blockLast, blockLast, blockLastMillis, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, bufferMillis, bufferMillis, bufferMillis, bufferMillis, bufferMillis, bufferMillis, bufferMillis, bufferTimeout, bufferTimeout, bufferTimeout, bufferTimeout, bufferTimeoutMillis, bufferTimeoutMillis, bufferTimeoutMillis, bufferUntil, bufferUntil, bufferWhen, bufferWhen, bufferWhile, cache, cache, cache, cache, cancelOn, cast, checkpoint, checkpoint, collect, collect, collectList, collectMap, collectMap, collectMap, collectMultimap, collectMultimap, collectMultimap, collectSortedList, collectSortedList, combineLatest, combineLatest, combineLatest, combineLatest, combineLatest, combineLatest, combineLatest, combineLatest, combineLatest, compose, concat, concat, concat, concat, concatDelayError, concatDelayError, concatDelayError, concatDelayError, concatMap, concatMap, concatMapDelayError, concatMapDelayError, concatMapDelayError, concatMapIterable, concatMapIterable, concatWith, count, create, create, defaultIfEmpty, defer, delay, delayElements, delayElements, delayElementsMillis, delayElementsMillis, delayMillis, delayMillis, delaySubscription, delaySubscription, delaySubscription, delaySubscriptionMillis, delaySubscriptionMillis, dematerialize, distinct, distinct, distinctUntilChanged, distinctUntilChanged, doAfterTerminate, doFinally, doOnCancel, doOnComplete, doOnEach, doOnError, doOnError, doOnError, doOnNext, doOnRequest, doOnSubscribe, doOnTerminate, elapsed, elapsed, elapsed, elementAt, elementAt, empty, error, error, filter, filterWhen, filterWhen, firstEmitting, firstEmitting, firstEmittingWith, flatMap, flatMap, flatMap, flatMap, flatMap, flatMapDelayError, flatMapIterable, flatMapIterable, flatMapSequential, flatMapSequential, flatMapSequential, flatMapSequential, flatMapSequentialDelayError, from, fromArray, fromIterable, fromStream, generate, generate, generate, getPrefetch, groupBy, groupBy, groupBy, groupBy, groupJoin, handle, hasElement, hasElements, hide, ignoreElements, interval, interval, interval, interval, intervalMillis, intervalMillis, intervalMillis, intervalMillis, join, just, just, last, last, limitRate, log, log, log, log, map, mapError, mapError, mapError, materialize, merge, merge, merge, merge, merge, merge, merge, mergeDelayError, mergeSequential, mergeSequential, mergeSequential, mergeSequential, mergeSequential, mergeSequential, mergeSequential, mergeSequential, mergeSequential, mergeSequentialDelayError, mergeSequentialDelayError, mergeSequentialDelayError, mergeWith, never, next, ofType, onAssembly, onAssembly, onBackpressureBuffer, onBackpressureBuffer, onBackpressureBuffer, onBackpressureBuffer, onBackpressureBuffer, onBackpressureDrop, onBackpressureDrop, onBackpressureError, onBackpressureLatest, onErrorMap, onErrorMap, onErrorMap, onErrorResume, onErrorResume, onErrorResume, onErrorResumeWith, onErrorResumeWith, onErrorResumeWith, onErrorReturn, onErrorReturn, onErrorReturn, onTerminateDetach, parallel, parallel, parallel, publish, publish, publish, publish, publishNext, publishOn, publishOn, publishOn, push, push, range, reduce, reduce, reduceWith, repeat, repeat, repeat, repeat, repeatWhen, replay, replay, replay, replay, replay, replay, replayMillis, replayMillis, retry, retry, retry, retry, retryWhen, sample, sample, sampleFirst, sampleFirst, sampleFirstMillis, sampleMillis, sampleTimeout, sampleTimeout, scan, scan, scanWith, share, single, single, singleOrEmpty, skip, skip, skip, skipLast, skipMillis, skipMillis, skipUntil, skipUntilOther, skipWhile, sort, sort, startWith, startWith, startWith, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, subscribeWith, switchIfEmpty, switchMap, switchMap, switchOnError, switchOnError, switchOnError, switchOnNext, switchOnNext, take, take, take, takeLast, takeMillis, takeMillis, takeUntil, takeUntilOther, takeWhile, then, then, then, thenEmpty, thenMany, thenMany, timeout, timeout, timeout, timeout, timeout, timeout, timeout, timeoutMillis, timeoutMillis, timeoutMillis, timeoutMillis, timestamp, timestamp, timestamp, toIterable, toIterable, toIterable, toStream, toStream, transform, using, using, window, window, window, window, window, window, window, window, window, window, windowMillis, windowMillis, windowMillis, windowMillis, windowMillis, windowTimeout, windowTimeout, windowTimeoutMillis, windowTimeoutMillis, windowUntil, windowUntil, windowUntil, windowWhen, windowWhile, windowWhile, withLatestFrom, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zipWith, zipWith, zipWith, zipWith, zipWithIterable, zipWithIterableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactuals, from, inners, isScanAvailable, parents, scan, scanOrDefaultpublic static ByteBufFlux fromInbound(Publisher<?> source)
ByteBufFluxsource - publisher to decorateByteBufFluxpublic static ByteBufFlux fromInbound(Publisher<?> source, ByteBufAllocator allocator)
ByteBufFluxsource - publisher to decorateallocator - the channel ByteBufAllocatorByteBufFluxpublic static ByteBufFlux fromPath(Path path)
FileChannel from a path and stream
ByteBuf chunks with a default maximum size of 500K into
the returned ByteBufFluxpath - the path to the resource to streamByteBufFluxpublic static ByteBufFlux fromPath(Path path, int maxChunkSize)
FileChannel from a path and stream
ByteBuf chunks with a given maximum size into the returned ByteBufFluxpath - the path to the resource to streammaxChunkSize - the maximum per-item ByteBuf sizeByteBufFluxpublic static ByteBufFlux fromPath(Path path, ByteBufAllocator allocator)
FileChannel from a path and stream
ByteBuf chunks with a default maximum size of 500K into the returned
ByteBufFlux, using the provided ByteBufAllocator.path - the path to the resource to streamallocator - the channel ByteBufAllocatorByteBufFluxpublic static ByteBufFlux fromPath(Path path, int maxChunkSize, ByteBufAllocator allocator)
FileChannel from a path and stream
ByteBuf chunks with a given maximum size into the returned
ByteBufFlux, using the provided ByteBufAllocator.path - the path to the resource to streammaxChunkSize - the maximum per-item ByteBuf sizeallocator - the channel ByteBufAllocatorByteBufFluxpublic final Flux<ByteBuffer> asByteBuffer()
ByteBuffer inbound FluxByteBuffer inbound Fluxpublic final Flux<byte[]> asByteArray()
FluxFluxpublic Flux<InputStream> asInputStream()
InputStream inbound FluxInputStream inbound Fluxpublic ByteBufMono aggregate()
ByteBufMono of aggregated ByteBufpublic ByteBufMono multicast()
ByteBufMono of retained ByteBufpublic ByteBufFlux retain()
ByteBufFlux of retained ByteBufpublic void subscribe(Subscriber<? super ByteBuf> s)