public class AnnotationErrorDecoder extends Object implements ErrorDecoder
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationErrorDecoder.Builder |
ErrorDecoder.Default, ErrorDecoder.RetryAfterDecoder| Modifier and Type | Method and Description |
|---|---|
static AnnotationErrorDecoder.Builder |
builderFor(Class<?> apiType) |
Exception |
decode(String methodKey,
Response response) |
public Exception decode(String methodKey, Response response)
decode in interface ErrorDecoderpublic static AnnotationErrorDecoder.Builder builderFor(Class<?> apiType)
Copyright © 2012–2021 OpenFeign. All rights reserved.