Class ProblemResponseErrorHandler
java.lang.Object
org.springframework.web.client.DefaultResponseErrorHandler
io.github.belgif.rest.problem.spring.AbstractProblemResponseErrorHandler
io.github.belgif.rest.problem.spring.ProblemResponseErrorHandler
- All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler
RestTemplate/RestClient error handler that converts problem responses to Problem exceptions.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.belgif.rest.problem.spring.AbstractProblemResponseErrorHandler
AbstractProblemResponseErrorHandler.ProblemReader -
Constructor Summary
ConstructorsConstructorDescriptionProblemResponseErrorHandler(tools.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Methods inherited from class io.github.belgif.rest.problem.spring.AbstractProblemResponseErrorHandler
handleErrorMethods inherited from class org.springframework.web.client.DefaultResponseErrorHandler
getCharset, getResponseBody, handleError, hasError, hasError, initBodyConvertFunction
-
Constructor Details
-
ProblemResponseErrorHandler
public ProblemResponseErrorHandler(tools.jackson.databind.ObjectMapper objectMapper)
-