/** * Creates a proxy. * @param cls the proxy class * @param varValues optional list of values which will be used to substitute * template variables specified in the class-level JAX-RS Path annotations * @return the proxy */ public <T> T create(Class<T> cls, Object... varValues) { return cls.cast(createWithValues(varValues)); }
/** * Creates a proxy * @param cls the proxy class * @param varValues optional list of values which will be used to substitute * template variables specified in the class-level JAX-RS Path annotations * @return the proxy */ public <T> T create(Class<T> cls, Object... varValues) { return cls.cast(createWithValues(varValues)); }
/** * Creates a proxy. * @param cls the proxy class * @param varValues optional list of values which will be used to substitute * template variables specified in the class-level JAX-RS Path annotations * @return the proxy */ public <T> T create(Class<T> cls, Object... varValues) { return cls.cast(createWithValues(varValues)); }
/** * Create a Client instance. Proxies and WebClients are Clients. * @return the client */ public Client create() { if (serviceClass == WebClient.class) { return createWebClient(); } return createWithValues(); }
/** * Create a Client instance. Proxies and WebClients are Clients. * @return the client */ public Client create() { if (serviceClass == WebClient.class) { return createWebClient(); } return createWithValues(); }
/** * Create a Client instance. Proxies and WebClients are Clients. * @return the client */ public Client create() { if (serviceClass == WebClient.class) { return createWebClient(); } else { return createWithValues(); } }
target = cfb.create(); } else { target = cfb.createWithValues(varValues);
target = cfb.create(); } else { target = cfb.createWithValues(varValues);