Package si.mazi.rescu
Class RestProxyFactoryImpl
java.lang.Object
si.mazi.rescu.RestProxyFactoryImpl
- All Implemented Interfaces:
IRestProxyFactory
public class RestProxyFactoryImpl extends Object implements IRestProxyFactory
The default implementation of
IRestProxyFactory that calls RestProxyFactory-
Constructor Summary
Constructors Constructor Description RestProxyFactoryImpl() -
Method Summary
Modifier and Type Method Description <I> IcreateProxy(Class<I> restInterface, String baseUrl)<I> IcreateProxy(Class<I> restInterface, String baseUrl, ClientConfig config, Interceptor... interceptors)
-
Constructor Details
-
RestProxyFactoryImpl
public RestProxyFactoryImpl()
-
-
Method Details
-
createProxy
public <I> I createProxy(Class<I> restInterface, String baseUrl, ClientConfig config, Interceptor... interceptors)- Specified by:
createProxyin interfaceIRestProxyFactory- See Also:
RestProxyFactory.createProxy(Class, String, ClientConfig, Interceptor...)
-
createProxy
- Specified by:
createProxyin interfaceIRestProxyFactory- See Also:
RestProxyFactory.createProxy(Class, String)
-