Class CustomResponseInterceptor

java.lang.Object
cn.hex01.billing.open.sdk.interceptor.CustomResponseInterceptor
All Implemented Interfaces:
feign.ResponseInterceptor

public class CustomResponseInterceptor extends Object implements feign.ResponseInterceptor
Author:
laoji
  • Nested Class Summary

    Nested classes/interfaces inherited from interface feign.ResponseInterceptor

    feign.ResponseInterceptor.Chain
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.google.gson.Gson
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    feign.ResponseInterceptor
    andThen(feign.ResponseInterceptor nextInterceptor)
     
    feign.ResponseInterceptor.Chain
    apply(feign.ResponseInterceptor.Chain chain)
     
    intercept(feign.InvocationContext invocationContext, feign.ResponseInterceptor.Chain chain)
     

    Methods inherited from class java.lang.Object

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

    • GSON

      public static final com.google.gson.Gson GSON
  • Constructor Details

    • CustomResponseInterceptor

      public CustomResponseInterceptor()
  • Method Details

    • intercept

      public Object intercept(feign.InvocationContext invocationContext, feign.ResponseInterceptor.Chain chain) throws Exception
      Specified by:
      intercept in interface feign.ResponseInterceptor
      Throws:
      Exception
    • andThen

      public feign.ResponseInterceptor andThen(feign.ResponseInterceptor nextInterceptor)
      Specified by:
      andThen in interface feign.ResponseInterceptor
    • apply

      public feign.ResponseInterceptor.Chain apply(feign.ResponseInterceptor.Chain chain)
      Specified by:
      apply in interface feign.ResponseInterceptor