public class ParseContainerPropertiesFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,ContainerProperties>, InvocationContext<ParseContainerPropertiesFromHeaders>
org.jclouds.azureblob.domain.ListableContainerProperties
from
HTTP headers.Constructor and Description |
---|
ParseContainerPropertiesFromHeaders(DateService dateParser,
String metadataPrefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
addETagTo(HttpResponse from,
MutableContainerPropertiesWithMetadata metadata) |
ContainerProperties |
apply(HttpResponse from) |
ParseContainerPropertiesFromHeaders |
setContext(HttpRequest request) |
@Inject public ParseContainerPropertiesFromHeaders(DateService dateParser, @Named(value="jclouds.blobstore.metaprefix") String metadataPrefix)
public ContainerProperties apply(HttpResponse from)
apply
in interface com.google.common.base.Function<HttpResponse,ContainerProperties>
protected void addETagTo(HttpResponse from, MutableContainerPropertiesWithMetadata metadata)
public ParseContainerPropertiesFromHeaders setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseContainerPropertiesFromHeaders>
Copyright © 2009-2013 jclouds. All Rights Reserved.