protected class HttpServerTracingPublisher.TracingSubscriber
extends java.lang.Object
implements org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
Modifier | Constructor and Description |
---|---|
protected |
TracingSubscriber(brave.Span span,
org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual) |
Modifier and Type | Method and Description |
---|---|
void |
onComplete() |
void |
onError(java.lang.Throwable error) |
void |
onNext(io.micronaut.http.MutableHttpResponse<?> response) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
protected TracingSubscriber(brave.Span span, org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual)
public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe
in interface org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
public void onNext(io.micronaut.http.MutableHttpResponse<?> response)
onNext
in interface org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
public void onError(java.lang.Throwable error)
onError
in interface org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>