@SuppressWarnings("unchecked") public T withSmartClient(boolean smartClient) { setSmartClient(smartClient); return (T) this; }
/** * Single endpoint constructor (disables smart-client). */ public ObjectConfig(URI endpoint) { this(Protocol.valueOf(endpoint.getScheme().toUpperCase()), endpoint.getPort(), endpoint.getHost()); setRootContext(endpoint.getPath()); setSmartClient(false); }