Interface HttpJakartaServletRequestTagsProvider

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

@Incubating(since="1.10.0") @FunctionalInterface public interface HttpJakartaServletRequestTagsProvider
Provides Tags for HTTP Servlet request handling.
Since:
1.10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    getTags(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Provides tags to be associated with metrics for the given request and response exchange.
  • Method Details

    • getTags

      Iterable<Tag> getTags(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Provides tags to be associated with metrics for the given request and response exchange.
      Parameters:
      request - the request
      response - the response
      Returns:
      tags to associate with metrics for the request and response exchange