public class ParseContainerMetadataFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,ContainerMetadata>, InvocationContext<ParseContainerMetadataFromHeaders>
org.jclouds.hpcloud.objectstorage.lvs.domain.ContainerMetadata
from
HTTP headers.Constructor and Description |
---|
ParseContainerMetadataFromHeaders() |
Modifier and Type | Method and Description |
---|---|
ContainerMetadata |
apply(HttpResponse from) |
ParseContainerMetadataFromHeaders |
setContext(HttpRequest request) |
public ContainerMetadata apply(HttpResponse from)
apply
in interface com.google.common.base.Function<HttpResponse,ContainerMetadata>
public ParseContainerMetadataFromHeaders setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseContainerMetadataFromHeaders>
Copyright © 2009-2012 jclouds. All Rights Reserved.