public <T> T createClientProxy(Class<T> proxyClass, WebTarget baseTarget) {
        return factory(ctx).createClientProxy(proxyClass, baseTarget);
    }
public < T > T createClientProxy ( Class < T > proxyClass , WebTarget baseTarget ) { return factory ( ctx ) . createClientProxy ( proxyClass , baseTarget ) ; }
Create a Client proxy for the given interface type.
Note that different JAX-RS providers behave slightly
differently for this feature.

@param proxyClass the class to implement
@param baseTarget the API root
@return a proxy implementation that executes requests