Class FeignUtils


  • public class FeignUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FeignUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.reflect.Type bodyActualType​(feign.MethodMetadata methodMetadata)  
      static java.lang.reflect.Method findMethodInTarget​(feign.Target target, feign.MethodMetadata methodMetadata)  
      static java.lang.reflect.Type getBodyActualType​(java.lang.reflect.Type bodyType)  
      static feign.Request.HttpMethod httpMethod​(java.lang.String method)  
      static boolean isResponsePublisher​(java.lang.reflect.Type returnType)  
      static boolean requestWithBody​(feign.MethodMetadata methodMetadata)  
      static boolean responseWithBody​(feign.MethodMetadata methodMetadata)  
      static java.lang.reflect.Type returnActualType​(feign.MethodMetadata methodMetadata)  
      static java.lang.reflect.Type returnActualType​(java.lang.reflect.Type returnType)  
      static java.lang.Class returnPublisherType​(feign.MethodMetadata methodMetadata)  
      static java.lang.Class returnPublisherType​(java.lang.reflect.Type returnType)  
      • Methods inherited from class java.lang.Object

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

      • FeignUtils

        public FeignUtils()
    • Method Detail

      • returnPublisherType

        public static java.lang.Class returnPublisherType​(feign.MethodMetadata methodMetadata)
      • isResponsePublisher

        public static boolean isResponsePublisher​(java.lang.reflect.Type returnType)
      • returnPublisherType

        public static java.lang.Class returnPublisherType​(java.lang.reflect.Type returnType)
      • returnActualType

        public static java.lang.reflect.Type returnActualType​(feign.MethodMetadata methodMetadata)
      • returnActualType

        public static java.lang.reflect.Type returnActualType​(java.lang.reflect.Type returnType)
      • bodyActualType

        public static java.lang.reflect.Type bodyActualType​(feign.MethodMetadata methodMetadata)
      • getBodyActualType

        public static java.lang.reflect.Type getBodyActualType​(java.lang.reflect.Type bodyType)
      • findMethodInTarget

        public static java.lang.reflect.Method findMethodInTarget​(feign.Target target,
                                                                  feign.MethodMetadata methodMetadata)
      • requestWithBody

        public static boolean requestWithBody​(feign.MethodMetadata methodMetadata)
      • responseWithBody

        public static boolean responseWithBody​(feign.MethodMetadata methodMetadata)
      • httpMethod

        public static feign.Request.HttpMethod httpMethod​(java.lang.String method)