Class SentryRequestHttpServletRequestProcessor

java.lang.Object
io.sentry.spring.SentryRequestHttpServletRequestProcessor
All Implemented Interfaces:
EventProcessor

public class SentryRequestHttpServletRequestProcessor extends Object implements EventProcessor
Attaches transaction name from the HTTP request to SentryEvent.
  • Constructor Details

    • SentryRequestHttpServletRequestProcessor

      public SentryRequestHttpServletRequestProcessor(@NotNull @NotNull TransactionNameProvider transactionNameProvider, @NotNull @NotNull javax.servlet.http.HttpServletRequest request)
  • Method Details

    • process

      @NotNull public @NotNull SentryEvent process(@NotNull @NotNull SentryEvent event, @NotNull @NotNull Hint hint)
      Description copied from interface: EventProcessor
      May mutate or drop a SentryEvent
      Specified by:
      process in interface EventProcessor
      Parameters:
      event - the SentryEvent
      hint - the Hint
      Returns:
      the event itself, a mutated SentryEvent or null