Package io.sentry.spring.boot
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 Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull ApplicationRunner
Configures hook that sets correct hub on the executing thread.@NotNull SentryWebExceptionHandler
sentryWebExceptionHandler
(@NotNull IHub hub) Configures exception handler that handles unhandled exceptions and sends them to Sentry.@NotNull SentryWebFilter
sentryWebFilter
(@NotNull IHub hub) Configures a filter that sets up SentryIScope
for each request.
-
Constructor Details
-
SentryWebfluxAutoConfiguration
public SentryWebfluxAutoConfiguration()
-
-
Method Details
-
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 SentryIScope
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.
-