T
- The response body type@DefaultImplementation(value=HateoasErrorResponseProcessor.class) public interface ErrorResponseProcessor<T>
Modifier and Type | Method and Description |
---|---|
MutableHttpResponse<T> |
processResponse(ErrorContext errorContext,
MutableHttpResponse<?> baseResponse)
Modifies the http response representing the error.
|
@NonNull MutableHttpResponse<T> processResponse(@NonNull ErrorContext errorContext, @NonNull MutableHttpResponse<?> baseResponse)
errorContext
- The error contextbaseResponse
- The base response to retrieve information or
mutate