@Test public void testGetMethods() { assertEquals(Collections.singletonList(Distribution.CUSTOM), new CustomOriginCloudFrontDistributionConfiguration(new Host(new TestProtocol()), new DefaultX509TrustManager(), new DefaultX509KeyManager()).getMethods( new Path("/bbb", EnumSet.of(Path.Type.directory, Path.Type.volume)))); }
@Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.CUSTOM); }
CustomOriginCloudFrontDistributionConfiguration extends CloudFrontDistributionConfiguration { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.CUSTOM); } }
CustomOriginCloudFrontDistributionConfiguration extends CloudFrontDistributionConfiguration { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.CUSTOM); } CustomOriginCloudFrontDistributionConfiguration(final Host origin,
                                                           final X509TrustManager trust,
                                                           final X509KeyManager key); }
CustomOriginCloudFrontDistributionConfiguration extends CloudFrontDistributionConfiguration { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.CUSTOM); } CustomOriginCloudFrontDistributionConfiguration(final Host origin,
                                                           final X509TrustManager trust,
                                                           final X509KeyManager key); @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 List<Distribution.Method> getMethods(final Path container); @Override DescriptiveUrlBag toUrl(final Path file); }
CustomOriginCloudFrontDistributionConfiguration extends CloudFrontDistributionConfiguration { @Override public List<Distribution.Method> getMethods(final Path container) { return Collections.singletonList(Distribution.CUSTOM); } CustomOriginCloudFrontDistributionConfiguration(final Host origin,
                                                           final X509TrustManager trust,
                                                           final X509KeyManager key); @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 List<Distribution.Method> getMethods(final Path container); @Override DescriptiveUrlBag toUrl(final Path file);  }