Interface WebClientErrorDecoder<E extends Throwable>
-
- Type Parameters:
E
- the exception type
- All Superinterfaces:
Function<org.springframework.web.reactive.function.client.ClientResponse,reactor.core.publisher.Mono<? extends Throwable>>
- All Known Implementing Classes:
AbstractWebClientErrorDecoder
,DefaultWebClientErrorDecoder
,MessageAwareWebClientErrorDecoder
,WebClientAccessTokenRetriever
public interface WebClientErrorDecoder<E extends Throwable> extends Function<org.springframework.web.reactive.function.client.ClientResponse,reactor.core.publisher.Mono<? extends Throwable>>
An error decoder for theWebClient
.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
buildException(org.springframework.web.reactive.function.client.ClientResponse clientResponse, String response)
Build exception.
-