public class EventBusBufferResponseSubscriber extends AbstractEventBusResponseSubscriber<io.vertx.core.buffer.Buffer>
Subscriber to wrap EventBus Buffer messages in an Observer/subscriber pattern
cancellable, logger
Constructor and Description |
---|
EventBusBufferResponseSubscriber(io.vertx.core.Vertx vertx,
io.vertx.core.MultiMap headers,
KeepUser user) |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.Future<EventBusBufferResponseSubscriber> |
get(io.vertx.core.Vertx vertx,
io.vertx.core.eventbus.Message<?> incoming,
JwtManager jwtManager) |
protected java.util.stream.Collector<io.vertx.core.buffer.Buffer,io.vertx.core.buffer.Buffer,io.vertx.core.buffer.Buffer> |
getSendCollector() |
getApiName, getOperationId, getUser, isDisposed, onComplete, onError, onNext, onSubscribe, serialize, setAggregateResponses, setCacheHeader, setCancellable, setDisposable, tryOnError
public EventBusBufferResponseSubscriber(io.vertx.core.Vertx vertx, io.vertx.core.MultiMap headers, KeepUser user) throws KeepExceptionServer
vertx
- headers
- user
- KeepExceptionServer
public static io.vertx.core.Future<EventBusBufferResponseSubscriber> get(@Nonnull io.vertx.core.Vertx vertx, @Nonnull io.vertx.core.eventbus.Message<?> incoming, @Nonnull JwtManager jwtManager)
vertx
- incoming
- jwtManager
- protected java.util.stream.Collector<io.vertx.core.buffer.Buffer,io.vertx.core.buffer.Buffer,io.vertx.core.buffer.Buffer> getSendCollector()
getSendCollector
in class AbstractEventBusResponseSubscriber<io.vertx.core.buffer.Buffer>