public static class Decoder.Default extends StringDecoder
Decoder.Decoder.Default| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Response response,
Type type)
Decodes an http response into an object corresponding to its
generic return type. |
public Object decode(Response response, Type type) throws IOException
Decodergeneric return type. If you need to
wrap exceptions, please do so via DecodeException.decode in interface Decoderdecode in class StringDecoderresponse - the response to decodetype - generic return type of the
method corresponding to this response.typeIOException - will be propagated safely to the caller.Copyright © 2012–2021 OpenFeign. All rights reserved.