Interface ReactiveErrorHandler


  • @Immutable
    @Valid
    public interface ReactiveErrorHandler
    The reactive error handler.
    Author:
    Christian Bremer
    • Method Detail

      • builder

        static org.bremersee.apiclient.webflux.ImmutableReactiveErrorHandler.Builder builder()
        Builder.
        Returns:
        the immutable reactive error handler builder
      • getErrorPredicate

        @Default
        @NotNull
        default @NotNull Predicate<org.springframework.http.HttpStatus> getErrorPredicate()
        Gets error predicate.
        Returns:
        the error predicate
      • getErrorFunction

        @Nullable
        Function<org.springframework.web.reactive.function.client.ClientResponse,​reactor.core.publisher.Mono<? extends Throwable>> getErrorFunction()
        Gets error function.
        Returns:
        the error function