Interface TransactionNameProvider

All Known Implementing Classes:
SpringMvcTransactionNameProvider, SpringServletTransactionNameProvider

public interface TransactionNameProvider
Resolves transaction name from HttpServletRequest.

With Spring MVC - use SpringMvcTransactionNameProvider.

  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    provideTransactionName(@NotNull jakarta.servlet.http.HttpServletRequest request)
    Resolves transaction name from HttpServletRequest.
    default @NotNull TransactionNameSource
    Returns the source of the transaction name.
  • Method Details

    • provideTransactionName

      @Nullable @Nullable String provideTransactionName(@NotNull @NotNull jakarta.servlet.http.HttpServletRequest request)
      Resolves transaction name from HttpServletRequest.
      Parameters:
      request - - the http request
      Returns:
      transaction name or null if not resolved
    • provideTransactionSource

      @NotNull @Internal default @NotNull TransactionNameSource provideTransactionSource()
      Returns the source of the transaction name. Only to be used internally.