Class TwitchHelixDecoder
java.lang.Object
feign.jackson.JacksonDecoder
com.github.twitch4j.helix.interceptor.TwitchHelixDecoder
- All Implemented Interfaces:
feign.codec.Decoder
public class TwitchHelixDecoder
extends feign.jackson.JacksonDecoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface feign.codec.Decoder
feign.codec.Decoder.Default -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREMAINING_HEADER -
Constructor Summary
Constructors Constructor Description TwitchHelixDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, TwitchHelixClientIdInterceptor interceptor) -
Method Summary
Modifier and Type Method Description java.lang.Objectdecode(feign.Response response, java.lang.reflect.Type type)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
REMAINING_HEADER
public static final java.lang.String REMAINING_HEADER- See Also:
- Constant Field Values
-
-
Constructor Details
-
TwitchHelixDecoder
public TwitchHelixDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, TwitchHelixClientIdInterceptor interceptor)
-
-
Method Details
-
decode
public java.lang.Object decode(feign.Response response, java.lang.reflect.Type type) throws java.io.IOException- Specified by:
decodein interfacefeign.codec.Decoder- Overrides:
decodein classfeign.jackson.JacksonDecoder- Throws:
java.io.IOException
-