org.jclouds.openstack.swift.functions
Class ParseAccountMetadataResponseFromHeaders

java.lang.Object
  extended by org.jclouds.openstack.swift.functions.ParseAccountMetadataResponseFromHeaders
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,AccountMetadata>

public class ParseAccountMetadataResponseFromHeaders
extends Object
implements com.google.common.base.Function<HttpResponse,AccountMetadata>

This parses AccountMetadata from HTTP headers.

Author:
James Murty

Constructor Summary
ParseAccountMetadataResponseFromHeaders()
           
 
Method Summary
 AccountMetadata apply(HttpResponse from)
          parses the http response headers to create a new AccountMetadata object.
 
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

ParseAccountMetadataResponseFromHeaders

public ParseAccountMetadataResponseFromHeaders()
Method Detail

apply

public AccountMetadata apply(HttpResponse from)
parses the http response headers to create a new AccountMetadata object.

Specified by:
apply in interface com.google.common.base.Function<HttpResponse,AccountMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.