org.jclouds.openstack.swift.functions
Class ParseAccountMetadataResponseFromHeaders
java.lang.Object
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
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 |
ParseAccountMetadataResponseFromHeaders
public ParseAccountMetadataResponseFromHeaders()
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.