Package io.sentry.spring.boot
Class SentryWebfluxAutoConfiguration
java.lang.Object
io.sentry.spring.boot.SentryWebfluxAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnWebApplication(type=REACTIVE)
@ConditionalOnBean(io.sentry.IHub.class)
@ConditionalOnClass(reactor.core.scheduler.Schedulers.class)
@Experimental
public class SentryWebfluxAutoConfiguration
extends Object
Configures Sentry integration for Spring Webflux and Project Reactor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull org.springframework.boot.ApplicationRunnerConfigures hook that sets correct hub on the executing thread.@NotNull io.sentry.spring.webflux.SentryWebExceptionHandlersentryWebExceptionHandler(@NotNull io.sentry.IHub hub) Configures exception handler that handles unhandled exceptions and sends them to Sentry.@NotNull io.sentry.spring.webflux.SentryWebFiltersentryWebFilter(@NotNull io.sentry.IHub hub) Configures a filter that sets up SentryScopefor each request.
-
Constructor Details
-
SentryWebfluxAutoConfiguration
public SentryWebfluxAutoConfiguration()
-
-
Method Details
-
sentryScheduleHookApplicationRunner
@Bean @NotNull public @NotNull org.springframework.boot.ApplicationRunner sentryScheduleHookApplicationRunner()Configures hook that sets correct hub on the executing thread. -
sentryWebFilter
@Bean @NotNull public @NotNull io.sentry.spring.webflux.SentryWebFilter sentryWebFilter(@NotNull @NotNull io.sentry.IHub hub) Configures a filter that sets up SentryScopefor each request. -
sentryWebExceptionHandler
@Bean @NotNull public @NotNull io.sentry.spring.webflux.SentryWebExceptionHandler sentryWebExceptionHandler(@NotNull @NotNull io.sentry.IHub hub) Configures exception handler that handles unhandled exceptions and sends them to Sentry.
-