[Feign source code] the class of parsing method -- Contract

This article describes how to map data in a method to request data, such as which are request parameters, which are request bodies, and which are request headers... Interface The function of this interface is to parse the methods in the class. Each method resolves to MethodMetadata. public interface Contract { /** * Contract Provides i ...

Posted by Swede78 on Fri, 10 Sep 2021 12:10:24 +0200