类 EndpointModuleInvocationHandler

java.lang.Object
net.linksfield.cube.partnersdk.configuration.EndpointModuleInvocationHandler
所有已实现的接口:
InvocationHandler

public class EndpointModuleInvocationHandler
extends Object
implements InvocationHandler
  • 构造器详细资料

    • EndpointModuleInvocationHandler

      public EndpointModuleInvocationHandler​(String host)
  • 方法详细资料

    • setProperties

      public void setProperties​(String key, String value)
    • invoke

      public Object invoke​(Object proxy, Method method, Object[] args) throws Throwable
      动态代理了配置读取接口 从配置文件读取的项目被缓存在本身的Map中 返回数据时自动将Host参数拼接在前
      指定者:
      invoke 在接口中 InvocationHandler
      返回:
      完整Url请求地址(参数掩码将被转换)
      抛出:
      Throwable