Class 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.
    • 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 Sentry Scope for each request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SentryWebfluxAutoConfiguration

        public SentryWebfluxAutoConfiguration()
    • 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 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.