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 java.lang.Object
Configures Sentry integration for Spring Webflux and Project Reactor.
-
-
Constructor Summary
Constructors Constructor Description SentryWebfluxAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull org.springframework.boot.ApplicationRunner
sentryScheduleHookApplicationRunner()
Configures hook that sets correct hub on the executing thread.@NotNull io.sentry.spring.webflux.SentryWebExceptionHandler
sentryWebExceptionHandler(@NotNull io.sentry.IHub hub)
Configures exception handler that handles unhandled exceptions and sends them to Sentry.@NotNull io.sentry.spring.webflux.SentryWebFilter
sentryWebFilter(@NotNull io.sentry.IHub hub)
Configures a filter that sets up SentryScope
for each request.
-
-
-
Method Detail
-
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 SentryScope
for 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.
-
-