Interface HttpServerRouteBiGetter<T,U>

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 HttpServerRouteBiGetter<T,U>
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 arg1, U arg2)
    Returns the http.route attribute extracted from context, arg1 and arg2; or null if it was not found.
  • Method Details

    • get

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