/** * Sets the current server URL used by the rest client. * @param serverUrl The URI of the rest server. */ @SuppressWarnings("UnusedDeclaration") public void setServerUrl(URI serverUrl) { setServerUrlBase(serverUrl); // After the server is updated we must make sure the endpoint refers // to the correct path. endPoint = endPoint.path(API_PATH); }
/** * Sets the current server URL used by the rest client. * @param serverUrl The URI of the rest server. */ @SuppressWarnings("UnusedDeclaration") public void setServerUrl(URI serverUrl) { setServerUrlBase(serverUrl); // After the server is updated we must make sure the endpoint refers // to the correct path. endPoint = endPoint.path(API_PATH); }
/** * Sets the current server URL used by the rest client. * * @param serverUrl The URI of the rest server. */ @SuppressWarnings("UnusedDeclaration") public void setServerUrl(URI serverUrl) { setServerUrlBase(serverUrl); // After the server is updated we must make sure the endpoint refers // to the correct path. endPoint = endPoint.path(API_PATH); }
/** * Sets the current server URL used by the rest client. * * @param serverUrl The URI of the rest server. */ @SuppressWarnings("UnusedDeclaration") public void setServerUrl(URI serverUrl) { setServerUrlBase(serverUrl); // After the server is updated we must make sure the endpoint refers // to the correct path. endPoint = endPoint.path(API_PATH); }