org.jclouds.cloudfiles.functions
Class ParseContainerCDNMetadataFromHeaders
java.lang.Object
org.jclouds.cloudfiles.functions.ParseContainerCDNMetadataFromHeaders
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,ContainerCDNMetadata>, InvocationContext<ParseContainerCDNMetadataFromHeaders>
public class ParseContainerCDNMetadataFromHeaders
- extends Object
- implements com.google.common.base.Function<HttpResponse,ContainerCDNMetadata>, InvocationContext<ParseContainerCDNMetadataFromHeaders>
This parses AccountMetadata
from HTTP headers.
- Author:
- James Murty
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 |
ParseContainerCDNMetadataFromHeaders
public ParseContainerCDNMetadataFromHeaders()
apply
public ContainerCDNMetadata apply(HttpResponse from)
- parses the http response headers to create a new
ContainerCDNMetadata
object.
- Specified by:
apply
in interface com.google.common.base.Function<HttpResponse,ContainerCDNMetadata>
setContext
public ParseContainerCDNMetadataFromHeaders setContext(HttpRequest request)
- Specified by:
setContext
in interface InvocationContext<ParseContainerCDNMetadataFromHeaders>
Copyright © 2009-2011 jclouds. All Rights Reserved.