Class HttpClientSender

java.lang.Object
zipkin2.reporter.Component
zipkin2.reporter.Sender
io.micronaut.tracing.zipkin.http.client.HttpClientSender
All Implemented Interfaces:
Closeable, AutoCloseable, zipkin2.reporter.BytesMessageSender

@Deprecated(since="7.0.0") public final class HttpClientSender extends zipkin2.reporter.Sender
Deprecated.
This class uses deprecated Zipkin 2 APIs and will be replaced by a Zipkin 3 based implementation in a future release.
A Sender implementation that uses Micronaut's HttpClient.
Since:
1.0
Author:
graemerocher
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
    Constructs the HttpClientSender.

    Nested classes/interfaces inherited from interface zipkin2.reporter.BytesMessageSender

    zipkin2.reporter.BytesMessageSender.Base
  • Method Summary

    Modifier and Type
    Method
    Description
    zipkin2.reporter.CheckResult
    Deprecated.
     
    void
    Deprecated.
     
    zipkin2.reporter.Encoding
    Deprecated.
     
    int
    Deprecated.
     
    int
    messageSizeInBytes(List<byte[]> encodedSpans)
    Deprecated.
     
    zipkin2.reporter.Call<Void>
    sendSpans(List<byte[]> encodedSpans)
    Deprecated.
     

    Methods inherited from class zipkin2.reporter.Sender

    messageSizeInBytes, send

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • encoding

      public zipkin2.reporter.Encoding encoding()
      Deprecated.
    • messageMaxBytes

      public int messageMaxBytes()
      Deprecated.
    • messageSizeInBytes

      public int messageSizeInBytes(List<byte[]> encodedSpans)
      Deprecated.
    • sendSpans

      public zipkin2.reporter.Call<Void> sendSpans(List<byte[]> encodedSpans)
      Deprecated.
      Specified by:
      sendSpans in class zipkin2.reporter.Sender
    • check

      public zipkin2.reporter.CheckResult check()
      Deprecated.
      Overrides:
      check in class zipkin2.reporter.Component
    • close

      public void close()
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class zipkin2.reporter.Component