Package io.sentry.spring.jakarta
Class SentryRequestHttpServletRequestProcessor
java.lang.Object
io.sentry.spring.jakarta.SentryRequestHttpServletRequestProcessor
- All Implemented Interfaces:
EventProcessor
Attaches transaction name from the HTTP request to
SentryEvent
.-
Constructor Summary
ConstructorDescriptionSentryRequestHttpServletRequestProcessor
(@NotNull TransactionNameProvider transactionNameProvider, @NotNull jakarta.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescription@NotNull SentryEvent
process
(@NotNull SentryEvent event, @NotNull Hint hint) May mutate or drop a SentryEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.sentry.EventProcessor
process, process
-
Constructor Details
-
SentryRequestHttpServletRequestProcessor
public SentryRequestHttpServletRequestProcessor(@NotNull @NotNull TransactionNameProvider transactionNameProvider, @NotNull @NotNull jakarta.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 interfaceEventProcessor
- Parameters:
event
- the SentryEventhint
- the Hint- Returns:
- the event itself, a mutated SentryEvent or null
-