Class FilteredStreamMessage<T,​U>

java.lang.Object
com.linecorp.armeria.common.stream.FilteredStreamMessage<T,​U>
All Implemented Interfaces:
StreamMessage<U>, org.reactivestreams.Publisher<U>
Direct Known Subclasses:
FilteredHttpRequest, FilteredHttpResponse

public abstract class FilteredStreamMessage<T,​U>
extends Object
implements StreamMessage<U>
A StreamMessage that filters objects as they are published. The filtering will happen from an I/O thread, meaning the order of the filtering will match the order that the delegate processes the objects in.