@SuppressWarnings("unchecked") public T withRootContext(String rootContext) { setRootContext(rootContext); 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); }