Class AbstractSentryWebFilter

java.lang.Object
io.sentry.spring.jakarta.webflux.AbstractSentryWebFilter
All Implemented Interfaces:
org.springframework.web.server.WebFilter
Direct Known Subclasses:
SentryWebFilter, SentryWebFilterWithThreadLocalAccessor

@Experimental public abstract class AbstractSentryWebFilter extends Object implements org.springframework.web.server.WebFilter
Manages IScope in Webflux request processing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractSentryWebFilter(@NotNull io.sentry.IHub hub)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doFinally(@NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull io.sentry.IHub requestHub, @Nullable io.sentry.ITransaction transaction)
     
    protected void
    doFirst(@NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull io.sentry.IHub requestHub)
     
    protected void
    doOnError(@Nullable io.sentry.ITransaction transaction, @NotNull Throwable e)
     
    protected @Nullable io.sentry.ITransaction
    maybeStartTransaction(@NotNull io.sentry.IHub requestHub, @NotNull org.springframework.http.server.reactive.ServerHttpRequest request)
     
    protected boolean
    shouldTraceRequest(@NotNull io.sentry.IHub hub, @NotNull org.springframework.http.server.reactive.ServerHttpRequest request)
     
    protected @NotNull io.sentry.ITransaction
    startTransaction(@NotNull io.sentry.IHub hub, @NotNull org.springframework.http.server.reactive.ServerHttpRequest request, @Nullable io.sentry.TransactionContext transactionContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.server.WebFilter

    filter
  • Field Details

  • Constructor Details

    • AbstractSentryWebFilter

      public AbstractSentryWebFilter(@NotNull @NotNull io.sentry.IHub hub)
  • Method Details

    • maybeStartTransaction

      @Nullable protected @Nullable io.sentry.ITransaction maybeStartTransaction(@NotNull @NotNull io.sentry.IHub requestHub, @NotNull @NotNull org.springframework.http.server.reactive.ServerHttpRequest request)
    • doFinally

      protected void doFinally(@NotNull @NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull @NotNull io.sentry.IHub requestHub, @Nullable @Nullable io.sentry.ITransaction transaction)
    • doFirst

      protected void doFirst(@NotNull @NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull @NotNull io.sentry.IHub requestHub)
    • doOnError

      protected void doOnError(@Nullable @Nullable io.sentry.ITransaction transaction, @NotNull @NotNull Throwable e)
    • shouldTraceRequest

      protected boolean shouldTraceRequest(@NotNull @NotNull io.sentry.IHub hub, @NotNull @NotNull org.springframework.http.server.reactive.ServerHttpRequest request)
    • startTransaction

      @NotNull protected @NotNull io.sentry.ITransaction startTransaction(@NotNull @NotNull io.sentry.IHub hub, @NotNull @NotNull org.springframework.http.server.reactive.ServerHttpRequest request, @Nullable @Nullable io.sentry.TransactionContext transactionContext)