Class TransactionNameProvider


  • @Internal
    public final class TransactionNameProvider
    extends java.lang.Object
    Resolves transaction name using HttpServletRequest.getMethod() and templated route that handled the request. To return correct transaction name, it must be used after request is processed by RequestMappingInfoHandlerMapping where HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE is set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable java.lang.String provideTransactionName​(@NotNull javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransactionNameProvider

        public TransactionNameProvider()
    • Method Detail

      • provideTransactionName

        @Nullable
        public @Nullable java.lang.String provideTransactionName​(@NotNull
                                                                 @NotNull javax.servlet.http.HttpServletRequest request)