Class SentryWebfluxAutoConfiguration

java.lang.Object
io.sentry.spring.boot.SentryWebfluxAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=REACTIVE) @ConditionalOnBean(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 ApplicationRunner sentryScheduleHookApplicationRunner()
      Configures hook that sets correct hub on the executing thread.
    • sentryWebFilter

      @Bean @Order(-2147483648) @NotNull public @NotNull SentryWebFilter sentryWebFilter(@NotNull @NotNull IHub hub)
      Configures a filter that sets up Sentry IScope for each request.
    • sentryWebExceptionHandler

      @Bean @NotNull public @NotNull SentryWebExceptionHandler sentryWebExceptionHandler(@NotNull @NotNull IHub hub)
      Configures exception handler that handles unhandled exceptions and sends them to Sentry.