Class RestProxyFactorySingletonImpl

  • All Implemented Interfaces:
    si.mazi.rescu.IRestProxyFactory

    public class RestProxyFactorySingletonImpl
    extends Object
    implements si.mazi.rescu.IRestProxyFactory
    • Constructor Detail

      • RestProxyFactorySingletonImpl

        public RestProxyFactorySingletonImpl​(si.mazi.rescu.IRestProxyFactory restProxyFactory)
    • Method Detail

      • createProxy

        public <I> I createProxy​(Class<I> restInterface,
                                 String baseUrl,
                                 si.mazi.rescu.ClientConfig config,
                                 si.mazi.rescu.Interceptor... interceptors)
        Specified by:
        createProxy in interface si.mazi.rescu.IRestProxyFactory
      • createProxy

        public <I> I createProxy​(Class<I> restInterface,
                                 String baseUrl)
        Specified by:
        createProxy in interface si.mazi.rescu.IRestProxyFactory