org.jclouds.atmos.binders
Class BindUserMetadataToHeaders
java.lang.Object
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
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 |
BindUserMetadataToHeaders
public BindUserMetadataToHeaders()
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.