public class ParseContainerCDNMetadataFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,ContainerCDNMetadata>, InvocationContext<ParseContainerCDNMetadataFromHeaders>
AccountMetadata
from HTTP headers.Constructor and Description |
---|
ParseContainerCDNMetadataFromHeaders() |
Modifier and Type | Method and Description |
---|---|
ContainerCDNMetadata |
apply(HttpResponse from)
parses the http response headers to create a new
ContainerCDNMetadata object. |
ParseContainerCDNMetadataFromHeaders |
setContext(HttpRequest request) |
public ParseContainerCDNMetadataFromHeaders()
public ContainerCDNMetadata apply(HttpResponse from)
ContainerCDNMetadata
object.apply
in interface com.google.common.base.Function<HttpResponse,ContainerCDNMetadata>
public ParseContainerCDNMetadataFromHeaders setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseContainerCDNMetadataFromHeaders>
Copyright © 2009-2012 jclouds. All Rights Reserved.