@Setting(ServiceSettings.SERVICE_URL) public void setServiceUrl(final URI serviceURL) { Validation.notNull("Service URL", serviceURL); String url = serviceURL.toString(); if (url.contains("?")) { url = url.split("[?]")[0]; } serviceUrl = url; }
@Setting(RestSettings.REST_ENCODING_SCHEMA_URL) public void setEncodingSchemaUrl(final URI encodingSchemaUrl) { Validation.notNull(REST_ENCODING_SCHEMA_URL, encodingSchemaUrl); this.encodingSchemaUrl = encodingSchemaUrl; }
@Setting(REST_URL_ENCODING) public void setUrlEncoding(final String urlEncoding) { Validation.notNull(REST_URL_ENCODING, urlEncoding); this.urlEncoding = urlEncoding; }
@Setting(REST_ENCODING_NAMESPACE) public void setRestEncodingNamespace(final URI restEncodingNamespace) { Validation.notNull(REST_ENCODING_NAMESPACE, restEncodingNamespace); this.restEncodingNamespace = restEncodingNamespace.toString(); }