public class SentryTracingFilter
extends org.springframework.web.filter.OncePerRequestFilter
ITransaction around HTTP request executions.
Only requests that have HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE request
attribute set are turned into transactions. This attribute is set in RequestMappingInfoHandlerMapping on request that have not been dropped with any Filter.
| Constructor and Description |
|---|
SentryTracingFilter() |
SentryTracingFilter(@NotNull io.sentry.IHub hub) |
SentryTracingFilter(@NotNull io.sentry.IHub hub,
@NotNull TransactionNameProvider transactionNameProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(@NotNull javax.servlet.http.HttpServletRequest httpRequest,
@NotNull javax.servlet.http.HttpServletResponse httpResponse,
@NotNull javax.servlet.FilterChain filterChain) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchpublic SentryTracingFilter()
public SentryTracingFilter(@NotNull
@NotNull io.sentry.IHub hub,
@NotNull
@NotNull TransactionNameProvider transactionNameProvider)
public SentryTracingFilter(@NotNull
@NotNull io.sentry.IHub hub)
protected void doFilterInternal(@NotNull
@NotNull javax.servlet.http.HttpServletRequest httpRequest,
@NotNull
@NotNull javax.servlet.http.HttpServletResponse httpResponse,
@NotNull
@NotNull javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
java.io.IOException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterjavax.servlet.ServletExceptionjava.io.IOException