org.jclouds.azureblob.functions
Class ParseContainerPropertiesFromHeaders
java.lang.Object
org.jclouds.azureblob.functions.ParseContainerPropertiesFromHeaders
- All Implemented Interfaces:
- com.google.common.base.Function<org.jclouds.http.HttpResponse,ContainerProperties>, org.jclouds.rest.InvocationContext<ParseContainerPropertiesFromHeaders>
public class ParseContainerPropertiesFromHeaders
- extends Object
- implements com.google.common.base.Function<org.jclouds.http.HttpResponse,ContainerProperties>, org.jclouds.rest.InvocationContext<ParseContainerPropertiesFromHeaders>
This parses @{link org.jclouds.azureblob.domain.ListableContainerProperties from
HTTP headers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
ParseContainerPropertiesFromHeaders
@Inject
public ParseContainerPropertiesFromHeaders(org.jclouds.date.DateService dateParser,
@Named(value="jclouds.blobstore.metaprefix")
String metadataPrefix)
apply
public ContainerProperties apply(org.jclouds.http.HttpResponse from)
- Specified by:
apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,ContainerProperties>
addETagTo
protected void addETagTo(org.jclouds.http.HttpResponse from,
MutableContainerPropertiesWithMetadata metadata)
setContext
public ParseContainerPropertiesFromHeaders setContext(org.jclouds.http.HttpRequest request)
- Specified by:
setContext in interface org.jclouds.rest.InvocationContext<ParseContainerPropertiesFromHeaders>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.