org.jclouds.atmos.binders
Class BindUserMetadataToHeaders

java.lang.Object
  extended by org.jclouds.atmos.binders.BindUserMetadataToHeaders
All Implemented Interfaces:
com.google.common.base.Function<UserMetadata,Map<String,String>>, Binder

@Singleton
public class BindUserMetadataToHeaders
extends Object
implements Binder, com.google.common.base.Function<UserMetadata,Map<String,String>>

Author:
Adrian Cole

Constructor Summary
BindUserMetadataToHeaders()
           
 
Method Summary
 Map<String,String> apply(UserMetadata md)
           
<R extends HttpRequest>
R
bindToRequest(R request, Object input)
           
 
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

BindUserMetadataToHeaders

public BindUserMetadataToHeaders()
Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object input)
Specified by:
bindToRequest in interface Binder

apply

public Map<String,String> apply(UserMetadata md)
Specified by:
apply in interface com.google.common.base.Function<UserMetadata,Map<String,String>>


Copyright © 2009-2011 jclouds. All Rights Reserved.