org.jclouds.hpcloud.objectstorage.lvs.functions
Class ParseContainerCDNMetadataFromHeaders

java.lang.Object
  extended by org.jclouds.hpcloud.objectstorage.lvs.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

Constructor Summary
ParseContainerCDNMetadataFromHeaders()
           
 
Method Summary
 ContainerCDNMetadata apply(HttpResponse from)
          parses the http response headers to create a new ContainerCDNMetadata object.
 ParseContainerCDNMetadataFromHeaders setContext(HttpRequest request)
           
 
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
 

Constructor Detail

ParseContainerCDNMetadataFromHeaders

public ParseContainerCDNMetadataFromHeaders()
Method Detail

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-2012 jclouds. All Rights Reserved.