Class HttpServerTracingPublisher

  • All Implemented Interfaces:
    io.micronaut.core.async.publisher.Publishers.MicronautPublisher<io.micronaut.http.MutableHttpResponse<?>>, org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>>
    Direct Known Subclasses:
    HttpServerTracingCorePublisher

    public class HttpServerTracingPublisher
    extends java.lang.Object
    implements io.micronaut.core.async.publisher.Publishers.MicronautPublisher<io.micronaut.http.MutableHttpResponse<?>>
    Handles HTTP client server tracing.
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> publisher  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doSubscribe​(brave.Span span, org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual)
      Do subscribe to the publisher.
      void subscribe​(org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • publisher

        protected final org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> publisher
    • Method Detail

      • subscribe

        public void subscribe​(org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual)
        Specified by:
        subscribe in interface org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>>
      • doSubscribe

        @Internal
        protected void doSubscribe​(brave.Span span,
                                   org.reactivestreams.Subscriber<? super io.micronaut.http.MutableHttpResponse<?>> actual)
        Do subscribe to the publisher.
        Parameters:
        actual - The actual subscriber
        span - The span