Class HttpServerTracingPublisher.TracingSubscriber
- java.lang.Object
-
- io.micronaut.tracing.brave.instrument.http.HttpServerTracingPublisher.TracingSubscriber
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
- Enclosing class:
- HttpServerTracingPublisher
protected class HttpServerTracingPublisher.TracingSubscriber extends java.lang.Object implements org.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTracingSubscriber(brave.Span span, org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()voidonError(java.lang.Throwable error)voidonNext(io.micronaut.http.MutableHttpResponse<?> response)voidonSubscribe(org.reactivestreams.Subscription s)
-
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s)
- Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
-
onNext
public void onNext(io.micronaut.http.MutableHttpResponse<?> response)
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
-
onError
public void onError(java.lang.Throwable error)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<io.micronaut.http.MutableHttpResponse<?>>
-
-