Class IdHTTPServerRequestContextExtractor

java.lang.Object
com.io7m.idstore.server.http.IdHTTPServerRequestContextExtractor
All Implemented Interfaces:
io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>

public final class IdHTTPServerRequestContextExtractor extends Object implements io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>
A propagator that can extract fields from a servlet request.
  • Method Details

    • instance

      public static io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest> instance()
      Returns:
      A propagator that can extract fields from a servlet request.
    • keys

      public Iterable<String> keys(io.helidon.webserver.http.ServerRequest request)
      Specified by:
      keys in interface io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>
    • get

      public String get(io.helidon.webserver.http.ServerRequest request, String name)
      Specified by:
      get in interface io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>