}
private RestConnector getRestConnector() {
if (restConnector == null) {
WebRequestWriter requestWriter = new JsonRequestWriterImpl(getValidationService(), getConversionService());
WebResponseReader responseReader = new JsonResponseReaderImpl(getConversionService());
WebExceptionHandler exceptionHandler = new SDKWebExceptionHandler();
WebClientImpl webClient = new WebClientImpl(requestWriter, responseReader, exceptionHandler);
restConnector = new RestConnectorImpl(this, webClient);
}
return restConnector;