Package org.bremersee.apiclient.webflux
Interface ReactiveErrorHandler
-
@Immutable @Valid public interface ReactiveErrorHandler
The reactive error handler.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static org.bremersee.apiclient.webflux.ImmutableReactiveErrorHandler.Builder
builder()
Builder.Function<org.springframework.web.reactive.function.client.ClientResponse,reactor.core.publisher.Mono<? extends Throwable>>
getErrorFunction()
Gets error function.default @NotNull Predicate<org.springframework.http.HttpStatus>
getErrorPredicate()
Gets error predicate.
-
-
-
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
-
-