Package com.linecorp.armeria.common.stream
@NonNullByDefault
package com.linecorp.armeria.common.stream
Streamed message types.
Starting points
-
ClassDescriptionA
RuntimeException
that is raised to signal aSubscriber
that theStreamMessage
it subscribed to has been aborted byStreamMessage.abort()
.ARuntimeException
that is raised to notifyStreamMessage.whenComplete()
when aSubscriber
has cancelled itsSubscription
.ARuntimeException
that is raised when aStreamMessage
has been closed unexpectedly.AStreamMessage
which buffers the elements to be signaled into aQueue
.A default duplicator.AStreamMessage
whose stream is published later by anotherStreamMessage
.AFixedStreamMessage
that publishes no objects, just a close event.AStreamMessage
that filters objects as they are published.HttpDecoder<T>Decodes a stream ofHttpObject
s to N objects.An input ofHttpDecoder
which is used to read a stream ofHttpData
.An output ofHttpDecoder
which holds the decoded data.ASubscriber
that discards all elements silently.AFixedStreamMessage
that only publishes one object.Adapts aPublisher
into aStreamMessage
.AFixedStreamMessage
that publishes an arbitrary number of objects.A function that accepts one signal and produces the length of the signal.A duplicator that duplicates aStreamMessage
into one or moreStreamMessage
s, which publish the same elements.A utility class forStreamMessage
.Wraps aStreamMessage
and forwards its method invocations todelegate
.StreamWriter<T>Produces the objects to be published by aStreamMessage
.Options used when subscribing to aStreamMessage
.AFixedStreamMessage
that publishes three objects.AFixedStreamMessage
that publishes two objects.