/** * @return * the endpoint to be used to connect to Google Storage. */ @Override public String getEndpoint() { return getJetS3tProperties().getStringProperty( "gsservice.gs-endpoint", Constants.GS_DEFAULT_HOSTNAME); }
/** * @return * the port number to be used for insecure connections over HTTP. */ @Override protected int getHttpPort() { return getJetS3tProperties().getIntProperty("gsservice.gs-endpoint-http-port", 80); }
/** * @return * the port number to be used for secure connections over HTTPS. */ @Override protected int getHttpsPort() { return getJetS3tProperties().getIntProperty("gsservice.gs-endpoint-https-port", 443); }
/** * @return * the virtual path inside the service. */ @Override protected String getVirtualPath() { return getJetS3tProperties().getStringProperty( "gsservice.gs-endpoint-virtual-path", ""); }
/** * @return * If true, JetS3t will specify bucket names in the request path of the HTTP message * instead of the Host header. */ @Override protected boolean getDisableDnsBuckets() { return getJetS3tProperties().getBoolProperty("gsservice.disable-dns-buckets", true); }
/** * @return * If true, all communication with GS will be via encrypted HTTPS connections, * otherwise communications will be sent unencrypted via HTTP */ @Override protected boolean getHttpsOnly() { return getJetS3tProperties().getBoolProperty("gsservice.https-only", true); }
@Override protected XmlResponsesSaxParser getXmlResponseSaxParser() throws ServiceException { return new XmlResponsesSaxParser(getJetS3tProperties(), true); }
/** * @return * the port number to be used for insecure connections over HTTP. */ @Override protected int getHttpPort() { return getJetS3tProperties().getIntProperty("gsservice.gs-endpoint-http-port", 80); }
/** * @return * If true, all communication with GS will be via encrypted HTTPS connections, * otherwise communications will be sent unencrypted via HTTP */ @Override protected boolean getHttpsOnly() { return getJetS3tProperties().getBoolProperty("gsservice.https-only", true); }
/** * @return * If true, JetS3t will specify bucket names in the request path of the HTTP message * instead of the Host header. */ @Override protected boolean getDisableDnsBuckets() { return getJetS3tProperties().getBoolProperty("gsservice.disable-dns-buckets", true); }
/** * @return * the endpoint to be used to connect to Google Storage. */ @Override public String getEndpoint() { return getJetS3tProperties().getStringProperty( "gsservice.gs-endpoint", Constants.GS_DEFAULT_HOSTNAME); }
/** * @return * the virtual path inside the service. */ @Override protected String getVirtualPath() { return getJetS3tProperties().getStringProperty( "gsservice.gs-endpoint-virtual-path", ""); }
/** * @return * the port number to be used for secure connections over HTTPS. */ @Override protected int getHttpsPort() { return getJetS3tProperties().getIntProperty("gsservice.gs-endpoint-https-port", 443); }
@Override protected XmlResponsesSaxParser getXmlResponseSaxParser() throws ServiceException { return new XmlResponsesSaxParser(getJetS3tProperties(), true); }