Interface HttpServletRequestTagsProvider

All Known Implementing Classes:
DefaultHttpServletRequestTagsProvider
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.4.0")
@FunctionalInterface
public interface HttpServletRequestTagsProvider
Provides Tags for HTTP Servlet request handling.
Since:
1.4.0
  • Method Summary

    Modifier and Type Method Description
    java.lang.Iterable<Tag> getTags​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Provides tags to be associated with metrics for the given request and response exchange.
  • Method Details

    • getTags

      java.lang.Iterable<Tag> getTags​(javax.servlet.http.HttpServletRequest request, javax.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