org.jclouds.rest.binders
Class BindToJsonPayload
java.lang.Object
org.jclouds.rest.binders.BindToJsonPayload
- All Implemented Interfaces:
- Binder, MapBinder
public class BindToJsonPayload
- extends Object
- implements MapBinder
Binds the object to the request as a json object.
- Since:
- 4.0
- Author:
- Adrian Cole
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jsonBinder
@Inject
protected Json jsonBinder
BindToJsonPayload
public BindToJsonPayload()
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
- See Also:
MapPayloadParam
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Object payload)
- Specified by:
bindToRequest in interface Binder
Copyright © 2009-2011 jclouds. All Rights Reserved.