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 Summary

    Modifier and Type
    Method
    Description
    get(io.helidon.webserver.http.ServerRequest request, String name)
     
    static io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>
     
    keys(io.helidon.webserver.http.ServerRequest request)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.context.propagation.TextMapGetter

    getAll
  • 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>