Package com.io7m.cardant.server.http

# Class CAHTTPServerRequestContextExtractor

java.lang.Object
com.io7m.cardant.server.http.CAHTTPServerRequestContextExtractor

All Implemented Interfaces:
  `io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>`

public final class CAHTTPServerRequestContextExtractor 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
  `String`
  `get(io.helidon.webserver.http.ServerRequest request, String name)`
  `static io.opentelemetry.context.propagation.TextMapGetter<io.helidon.webserver.http.ServerRequest>`
  `instance()`
  `Iterable<String>`
  `keys(io.helidon.webserver.http.ServerRequest request)`

  ### Methods inherited from class java.lang.Object

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

- ## 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>`