Package org.oxerr.rescu.ext.singleton
Class RestProxyFactorySingletonImpl
java.lang.Object
org.oxerr.rescu.ext.singleton.RestProxyFactorySingletonImpl
- All Implemented Interfaces:
si.mazi.rescu.IRestProxyFactory
public class RestProxyFactorySingletonImpl
extends Object
implements si.mazi.rescu.IRestProxyFactory
-
Constructor Summary
ConstructorDescriptionRestProxyFactorySingletonImpl
(si.mazi.rescu.IRestProxyFactory restProxyFactory) -
Method Summary
Modifier and TypeMethodDescription<I> I
createProxy
(Class<I> restInterface, String baseUrl) <I> I
createProxy
(Class<I> restInterface, String baseUrl, si.mazi.rescu.ClientConfig config, si.mazi.rescu.Interceptor... interceptors)
-
Constructor Details
-
RestProxyFactorySingletonImpl
public RestProxyFactorySingletonImpl(si.mazi.rescu.IRestProxyFactory restProxyFactory)
-
-
Method Details
-
createProxy
public <I> I createProxy(Class<I> restInterface, String baseUrl, si.mazi.rescu.ClientConfig config, si.mazi.rescu.Interceptor... interceptors) - Specified by:
createProxy
in interfacesi.mazi.rescu.IRestProxyFactory
-
createProxy
- Specified by:
createProxy
in interfacesi.mazi.rescu.IRestProxyFactory
-