Interface HttpServerRouteGetter<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface HttpServerRouteGetter<T>
An interface for getting the http.route attribute.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    get(io.opentelemetry.context.Context context, T arg)
    Returns the http.route attribute extracted from context and arg; or null if it was not found.
  • Method Details

    • get

      @Nullable String get(io.opentelemetry.context.Context context, @Nullable T arg)
      Returns the http.route attribute extracted from context and arg; or null if it was not found.