private S3Object getObjectWithSignedUrlImpl(String signedGetOrHeadUrl, boolean headOnly) throws ServiceException { String s3Endpoint = this.getEndpoint();
private S3Object getObjectWithSignedUrlImpl(String signedGetOrHeadUrl, boolean headOnly) throws ServiceException { String s3Endpoint = this.getEndpoint();
originalURI, this.getEndpoint()); this.regionEndpointCache.putRegionForBucketName( bucketName, expectedRegion);
originalURI, this.getEndpoint()); this.regionEndpointCache.putRegionForBucketName( bucketName, expectedRegion);
String endPoint = this.getEndpoint(); String hostname = ServiceUtils.generateS3HostnameForBucket( bucketName, disableDnsBuckets, endPoint);
String endPoint = this.getEndpoint(); String hostname = ServiceUtils.generateS3HostnameForBucket( bucketName, disableDnsBuckets, endPoint);
requestURI, this.getEndpoint()); String requestSignatureVersion = this.getJetS3tProperties() .getStringProperty( requestURI, getEndpoint()); if (bucketName != null && requestURI.getHost().startsWith(bucketName)) { fullUrl = "/" + bucketName + fullUrl;
requestURI, this.getEndpoint()); String requestSignatureVersion = this.getJetS3tProperties() .getStringProperty( requestURI, getEndpoint()); if (bucketName != null && requestURI.getHost().startsWith(bucketName)) { fullUrl = "/" + bucketName + fullUrl;
protected void initializeProxy() { // Retrieve Proxy settings. if(getJetS3tProperties().getBoolProperty("httpclient.proxy-autodetect", true)) { RestUtils.initHttpProxy(httpClient, getJetS3tProperties(), this.getEndpoint()); } else { String proxyHostAddress = getJetS3tProperties().getStringProperty("httpclient.proxy-host", null); int proxyPort = getJetS3tProperties().getIntProperty("httpclient.proxy-port", -1); String proxyUser = getJetS3tProperties().getStringProperty("httpclient.proxy-user", null); String proxyPassword = getJetS3tProperties().getStringProperty("httpclient.proxy-password", null); String proxyDomain = getJetS3tProperties().getStringProperty("httpclient.proxy-domain", null); RestUtils.initHttpProxy(httpClient, getJetS3tProperties(), false, proxyHostAddress, proxyPort, proxyUser, proxyPassword, proxyDomain, this.getEndpoint()); } }
protected void initializeProxy() { // Retrieve Proxy settings. if(getJetS3tProperties().getBoolProperty("httpclient.proxy-autodetect", true)) { RestUtils.initHttpProxy(httpClient, getJetS3tProperties(), this.getEndpoint()); } else { String proxyHostAddress = getJetS3tProperties().getStringProperty("httpclient.proxy-host", null); int proxyPort = getJetS3tProperties().getIntProperty("httpclient.proxy-port", -1); String proxyUser = getJetS3tProperties().getStringProperty("httpclient.proxy-user", null); String proxyPassword = getJetS3tProperties().getStringProperty("httpclient.proxy-password", null); String proxyDomain = getJetS3tProperties().getStringProperty("httpclient.proxy-domain", null); RestUtils.initHttpProxy(httpClient, getJetS3tProperties(), false, proxyHostAddress, proxyPort, proxyUser, proxyPassword, proxyDomain, this.getEndpoint()); } }
String s3Endpoint = this.getEndpoint();
String s3Endpoint = this.getEndpoint();