/** * Prepare http web request. * * @return the http web request * @throws ServiceLocalException the service local exception * @throws java.net.URISyntaxException the uRI syntax exception */ public HttpWebRequest prepareHttpWebRequest() throws ServiceLocalException, URISyntaxException { try { this.url = this.adjustServiceUriFromCredentials(this.getUrl()); } catch (Exception e) { LOG.error(e); } return this.prepareHttpWebRequestForUrl(url, this .getAcceptGzipEncoding(), true); }
/** * Prepares a http web request from a pooling connection manager, used for subscriptions. * * @return A http web request * @throws ServiceLocalException The service local exception * @throws java.net.URISyntaxException the uRI syntax exception */ public HttpWebRequest prepareHttpPoolingWebRequest() throws ServiceLocalException, URISyntaxException { try { this.url = this.adjustServiceUriFromCredentials(this.getUrl()); } catch (Exception e) { LOG.error(e); } return this.prepareHttpPoolingWebRequestForUrl(url, this .getAcceptGzipEncoding(), true); }
validateRedirectionUrlCallback); this.setUrl(this .adjustServiceUriFromCredentials(exchangeServiceUrl)); return; } catch (AutodiscoverLocalException ex) { validateRedirectionUrlCallback); this.setUrl(this.adjustServiceUriFromCredentials(exchangeServiceUrl));
/** * Prepares a http web request from a pooling connection manager, used for subscriptions. * * @return A http web request * @throws ServiceLocalException The service local exception * @throws java.net.URISyntaxException the uRI syntax exception */ public HttpWebRequest prepareHttpPoolingWebRequest() throws ServiceLocalException, URISyntaxException { try { this.url = this.adjustServiceUriFromCredentials(this.getUrl()); } catch (Exception e) { LOG.error(e); } return this.prepareHttpPoolingWebRequestForUrl(url, this .getAcceptGzipEncoding(), true); }
/** * Prepare http web request. * * @return the http web request * @throws ServiceLocalException the service local exception * @throws java.net.URISyntaxException the uRI syntax exception */ public HttpWebRequest prepareHttpWebRequest() throws ServiceLocalException, URISyntaxException { try { this.url = this.adjustServiceUriFromCredentials(this.getUrl()); } catch (Exception e) { LOG.error(e); } return this.prepareHttpWebRequestForUrl(url, this .getAcceptGzipEncoding(), true); }
validateRedirectionUrlCallback); this.setUrl(this .adjustServiceUriFromCredentials(exchangeServiceUrl)); return; } catch (AutodiscoverLocalException ex) { validateRedirectionUrlCallback); this.setUrl(this.adjustServiceUriFromCredentials(exchangeServiceUrl));