org.jclouds.openstack.swift.v1.functions
Class MetadataFromHeaders

java.lang.Object
  extended by org.jclouds.openstack.swift.v1.functions.MetadataFromHeaders
All Implemented Interfaces:
com.google.common.base.Function<org.jclouds.http.HttpResponse,Map<String,String>>

public class MetadataFromHeaders
extends Object
implements com.google.common.base.Function<org.jclouds.http.HttpResponse,Map<String,String>>

Extracts metadata entries from http response headers.


Constructor Summary
MetadataFromHeaders()
           
 
Method Summary
 Map<String,String> apply(org.jclouds.http.HttpResponse from)
           
 
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

MetadataFromHeaders

public MetadataFromHeaders()
Method Detail

apply

public Map<String,String> apply(org.jclouds.http.HttpResponse from)
Specified by:
apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,Map<String,String>>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.