Class VertxHttpExporter.VertxHttpSender

  • All Implemented Interfaces:
    io.opentelemetry.exporter.internal.http.HttpSender
    Enclosing class:
    VertxHttpExporter

    static final class VertxHttpExporter.VertxHttpSender
    extends Object
    implements io.opentelemetry.exporter.internal.http.HttpSender
    • Constructor Detail

      • VertxHttpSender

        VertxHttpSender​(URI baseUri,
                        boolean compressionEnabled,
                        Duration timeout,
                        Map<String,​String> headersMap,
                        String contentType,
                        Consumer<io.vertx.core.http.HttpClientOptions> clientOptionsCustomizer,
                        io.vertx.core.Vertx vertx)
    • Method Detail

      • send

        public void send​(Consumer<OutputStream> marshaler,
                         int contentLength,
                         Consumer<io.opentelemetry.exporter.internal.http.HttpSender.Response> onResponse,
                         Consumer<Throwable> onError)
        Specified by:
        send in interface io.opentelemetry.exporter.internal.http.HttpSender
      • shutdown

        public io.opentelemetry.sdk.common.CompletableResultCode shutdown()
        Specified by:
        shutdown in interface io.opentelemetry.exporter.internal.http.HttpSender