Class TwitchKrakenErrorDecoder

java.lang.Object
com.github.twitch4j.kraken.TwitchKrakenErrorDecoder
All Implemented Interfaces:
feign.codec.ErrorDecoder

@Deprecated public class TwitchKrakenErrorDecoder extends Object implements feign.codec.ErrorDecoder
Deprecated.
Kraken is deprecated and has been shut down on Febuary 28, 2022. More details about the deprecation are available here.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface feign.codec.ErrorDecoder

    feign.codec.ErrorDecoder.Default, feign.codec.ErrorDecoder.RetryAfterDecoder
  • Constructor Summary

    Constructors
    Constructor
    Description
    TwitchKrakenErrorDecoder(feign.codec.Decoder decoder)
    Deprecated.
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(String methodKey, feign.Response response)
    Deprecated.
    Overwrite the Decode Method to handle custom error cases

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TwitchKrakenErrorDecoder

      public TwitchKrakenErrorDecoder(feign.codec.Decoder decoder)
      Deprecated.
      Constructor
      Parameters:
      decoder - Feign Decoder
  • Method Details

    • decode

      public Exception decode(String methodKey, feign.Response response)
      Deprecated.
      Overwrite the Decode Method to handle custom error cases
      Specified by:
      decode in interface feign.codec.ErrorDecoder
      Parameters:
      methodKey - Method Key
      response - Response
      Returns:
      Exception