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