public abstract class FilteredHttpResponse extends FilteredStreamMessage<HttpObject,HttpObject> implements HttpResponse
HttpResponse 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.| Modifier | Constructor and Description |
|---|---|
protected |
FilteredHttpResponse(HttpResponse delegate)
Creates a new
FilteredHttpResponse that filters objects published by delegate
before passing to a subscriber. |
protected |
FilteredHttpResponse(HttpResponse delegate,
boolean withPooledObjects)
Creates a new
FilteredHttpResponse that filters objects published by delegate
before passing to a subscriber. |
abort, abort, beforeComplete, beforeError, beforeSubscribe, defaultSubscriberExecutor, drainAll, drainAll, filter, isEmpty, isOpen, subscribe, subscribe, whenCompleteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregate, aggregate, aggregateWithPooledObjects, aggregateWithPooledObjects, closeFuture, completionFuture, delayed, delayed, delayed, delayed, from, from, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, ofFailed, ofFailure, streaming, toDuplicator, toDuplicator, toDuplicator, toDuplicator, whenCompleteprotected FilteredHttpResponse(HttpResponse delegate)
FilteredHttpResponse that filters objects published by delegate
before passing to a subscriber.protected FilteredHttpResponse(HttpResponse delegate, boolean withPooledObjects)
FilteredHttpResponse that filters objects published by delegate
before passing to a subscriber.withPooledObjects - if true, FilteredStreamMessage.filter(Object) receives the
pooled ByteBuf and ByteBufHolder as is, without making a copy.
If you don't know what this means,
use FilteredHttpResponse(HttpResponse).Copyright © 2020 LeanCloud. All rights reserved.