/** * Initializes the URL that will be used for REST service access * * @param deploymentId Deployment ID * @param url URL of the server instance * @return An URL that can be used to access the REST services */ URL initializeRestServicesUrl(URL url) { return initializeServicesUrl(url, "rest"); }
/** * Initializes the URL that will be used for web service access * * @param deploymentId Deployment ID * @param url URL of the server instance * @return An URL that can be used for the web services */ URL initializeWebServicesUrl(URL url) { return initializeServicesUrl(url, "ws"); }