org.jclouds.openstack.keystone.v2_0.binders
Class BindAuthToJsonPayload
java.lang.Object
org.jclouds.rest.binders.BindToJsonPayload
org.jclouds.openstack.keystone.v2_0.binders.BindAuthToJsonPayload
- All Implemented Interfaces:
- Binder, MapBinder
@Singleton
public class BindAuthToJsonPayload
- extends BindToJsonPayload
- implements MapBinder
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindAuthToJsonPayload
@Inject
public BindAuthToJsonPayload(Json jsonBinder)
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Object toBind)
- Specified by:
bindToRequest
in interface Binder
- Overrides:
bindToRequest
in class BindToJsonPayload
addCredentialsInArgsOrNull
protected void addCredentialsInArgsOrNull(GeneratedHttpRequest<?> gRequest,
com.google.common.collect.ImmutableMap.Builder<String,Object> builder)
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Map<String,String> postParams)
- Description copied from interface:
MapBinder
- creates and binds the POST payload to the request using parameters specified.
- Specified by:
bindToRequest
in interface MapBinder
- Overrides:
bindToRequest
in class BindToJsonPayload
- See Also:
PayloadParam
Copyright © 2009-2012 jclouds. All Rights Reserved.