Class BraveHttpServerHandler

java.lang.Object
io.micrometer.tracing.brave.bridge.BraveHttpServerHandler
All Implemented Interfaces:
io.micrometer.tracing.http.HttpServerHandler

public class BraveHttpServerHandler extends Object implements io.micrometer.tracing.http.HttpServerHandler
Brave implementation of a HttpServerHandler.
Since:
1.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    BraveHttpServerHandler(brave.http.HttpServerHandler<brave.http.HttpServerRequest,brave.http.HttpServerResponse> delegate)
    Creates a new instance of HttpServerHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micrometer.tracing.Span
    handleReceive(io.micrometer.tracing.http.HttpServerRequest request)
     
    void
    handleSend(io.micrometer.tracing.http.HttpServerResponse response, io.micrometer.tracing.Span span)
     

    Methods inherited from class java.lang.Object

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

    • BraveHttpServerHandler

      public BraveHttpServerHandler(brave.http.HttpServerHandler<brave.http.HttpServerRequest,brave.http.HttpServerResponse> delegate)
      Creates a new instance of HttpServerHandler.
      Parameters:
      delegate - Brave version of HttpServerHandler
  • Method Details

    • handleReceive

      public io.micrometer.tracing.Span handleReceive(io.micrometer.tracing.http.HttpServerRequest request)
      Specified by:
      handleReceive in interface io.micrometer.tracing.http.HttpServerHandler
    • handleSend

      public void handleSend(io.micrometer.tracing.http.HttpServerResponse response, io.micrometer.tracing.Span span)
      Specified by:
      handleSend in interface io.micrometer.tracing.http.HttpServerHandler