@Configuration(proxyBeanMethods=false)
@ConditionalOnWebApplication(type=REACTIVE)
@ConditionalOnBean(value=io.sentry.IHub.class)
@ConditionalOnClass(value=reactor.core.scheduler.Schedulers.class)
@ApiStatus.Experimental
public class SentryWebfluxAutoConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
SentryWebfluxAutoConfiguration() |
| Modifier and Type | Method and 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. |
@Bean @NotNull public @NotNull org.springframework.boot.ApplicationRunner sentryScheduleHookApplicationRunner()
@Bean
@NotNull
public @NotNull io.sentry.spring.webflux.SentryWebFilter sentryWebFilter(@NotNull
@NotNull io.sentry.IHub hub)
Scope for each request.@Bean
@NotNull
public @NotNull io.sentry.spring.webflux.SentryWebExceptionHandler sentryWebExceptionHandler(@NotNull
@NotNull io.sentry.IHub hub)