@Test public void testGetProtocol() { final DistributionConfiguration configuration = new GoogleStorageWebsiteDistributionConfiguration(session); assertEquals("storage.googleapis.com", configuration.getHostname()); }
@Override public String getHostname() { return session.getHost().getProtocol().getDefaultHostname(); }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public String getHostname() { return session.getHost().getProtocol().getDefaultHostname(); } }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public String getHostname() { return session.getHost().getProtocol().getDefaultHostname(); } GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session); }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public String getHostname() { return session.getHost().getProtocol().getDefaultHostname(); } GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session); @Override List<Distribution.Method> getMethods(final Path container); @Override String getName(Distribution.Method method); @Override String getName(); @Override DescriptiveUrlBag toUrl(final Path file); @Override Distribution read(final Path file, final Distribution.Method method, final LoginCallback prompt); @Override void write(final Path file, final Distribution distribution, final LoginCallback prompt); @Override @SuppressWarnings("unchecked") T getFeature(final Class<T> type, final Distribution.Method method); @Override String getHostname(); }
GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index { @Override public String getHostname() { return session.getHost().getProtocol().getDefaultHostname(); } GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session); @Override List<Distribution.Method> getMethods(final Path container); @Override String getName(Distribution.Method method); @Override String getName(); @Override DescriptiveUrlBag toUrl(final Path file); @Override Distribution read(final Path file, final Distribution.Method method, final LoginCallback prompt); @Override void write(final Path file, final Distribution distribution, final LoginCallback prompt); @Override @SuppressWarnings("unchecked") T getFeature(final Class<T> type, final Distribution.Method method); @Override String getHostname();  }