Package io.sentry.spring.jakarta.webflux
Class AbstractSentryWebFilter
java.lang.Object
io.sentry.spring.jakarta.webflux.AbstractSentryWebFilter
- All Implemented Interfaces:
WebFilter
- Direct Known Subclasses:
SentryWebFilter
,SentryWebFilterWithThreadLocalAccessor
Manages
IScope
in Webflux request processing.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doFinally
(@NotNull ServerWebExchange serverWebExchange, @NotNull IHub requestHub, @Nullable ITransaction transaction) protected void
doFirst
(@NotNull ServerWebExchange serverWebExchange, @NotNull IHub requestHub) protected void
doOnError
(@Nullable ITransaction transaction, @NotNull Throwable e) protected @Nullable ITransaction
maybeStartTransaction
(@NotNull IHub requestHub, @NotNull ServerHttpRequest request) protected boolean
shouldTraceRequest
(@NotNull IHub hub, @NotNull ServerHttpRequest request) protected @NotNull ITransaction
startTransaction
(@NotNull IHub hub, @NotNull ServerHttpRequest request, @Nullable TransactionContext transactionContext)
-
Field Details
-
SENTRY_HUB_KEY
- See Also:
-
-
Constructor Details
-
AbstractSentryWebFilter
-
-
Method Details
-
maybeStartTransaction
@Nullable protected @Nullable ITransaction maybeStartTransaction(@NotNull @NotNull IHub requestHub, @NotNull @NotNull ServerHttpRequest request) -
doFinally
protected void doFinally(@NotNull @NotNull ServerWebExchange serverWebExchange, @NotNull @NotNull IHub requestHub, @Nullable @Nullable ITransaction transaction) -
doFirst
protected void doFirst(@NotNull @NotNull ServerWebExchange serverWebExchange, @NotNull @NotNull IHub requestHub) -
doOnError
protected void doOnError(@Nullable @Nullable ITransaction transaction, @NotNull @NotNull Throwable e) -
shouldTraceRequest
protected boolean shouldTraceRequest(@NotNull @NotNull IHub hub, @NotNull @NotNull ServerHttpRequest request) -
startTransaction
@NotNull protected @NotNull ITransaction startTransaction(@NotNull @NotNull IHub hub, @NotNull @NotNull ServerHttpRequest request, @Nullable @Nullable TransactionContext transactionContext)
-