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 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 Sentry Scope 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.