public class DefaultCloudFrontService extends Object implements CloudFrontService
Constructor and Description |
---|
DefaultCloudFrontService() |
Modifier and Type | Method and Description |
---|---|
void |
fillInIndexData(BucketContext bc,
ListingConverterContext lcc,
List<IndexContext> contexts) |
void |
fillInWelcomeFileKeys(List<String> welcomeFiles,
List<IndexContext> contexts) |
List<IndexContext> |
getIndexContexts(List<com.amazonaws.services.s3.model.ObjectListing> listings) |
List<TypedRequest> |
getIndexObjectRequests(IndexObjectsContext context) |
protected com.amazonaws.services.s3.model.PutObjectRequest |
getPutHtmlRequest(CloudFrontContext context,
com.amazonaws.services.s3.model.ObjectListing listing,
String html) |
protected com.amazonaws.services.s3.model.PutObjectRequest |
getPutHtmlRequestWithoutTrailingDelimiter(CloudFrontContext context,
com.amazonaws.services.s3.model.ObjectListing listing,
String html) |
protected TypedRequest |
getTypedRequest(CloudFrontContext context,
com.amazonaws.services.s3.model.ObjectListing listing,
String html)
This does one of two things.
|
protected TypedRequest |
getTypedRequestWithoutTrailingDelimiter(CloudFrontContext context,
com.amazonaws.services.s3.model.ObjectListing listing,
String html) |
public DefaultCloudFrontService()
public void fillInWelcomeFileKeys(List<String> welcomeFiles, List<IndexContext> contexts)
fillInWelcomeFileKeys
in interface CloudFrontService
public List<IndexContext> getIndexContexts(List<com.amazonaws.services.s3.model.ObjectListing> listings)
getIndexContexts
in interface CloudFrontService
public List<TypedRequest> getIndexObjectRequests(IndexObjectsContext context)
getIndexObjectRequests
in interface CloudFrontService
protected TypedRequest getTypedRequestWithoutTrailingDelimiter(CloudFrontContext context, com.amazonaws.services.s3.model.ObjectListing listing, String html)
protected TypedRequest getTypedRequest(CloudFrontContext context, com.amazonaws.services.s3.model.ObjectListing listing, String html)
/foo/bar/index.html to /foo/bar/
OR creates /foo/bar/
from html
protected com.amazonaws.services.s3.model.PutObjectRequest getPutHtmlRequestWithoutTrailingDelimiter(CloudFrontContext context, com.amazonaws.services.s3.model.ObjectListing listing, String html)
protected com.amazonaws.services.s3.model.PutObjectRequest getPutHtmlRequest(CloudFrontContext context, com.amazonaws.services.s3.model.ObjectListing listing, String html)
public void fillInIndexData(BucketContext bc, ListingConverterContext lcc, List<IndexContext> contexts)
fillInIndexData
in interface CloudFrontService
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.