org.jclouds.rimuhosting.miro.binder
Class RimuHostingRebootJsonBinder
java.lang.Object
org.jclouds.rest.binders.BindToJsonPayload
org.jclouds.rimuhosting.miro.binder.RimuHostingJsonBinder
org.jclouds.rimuhosting.miro.binder.RimuHostingRebootJsonBinder
- All Implemented Interfaces:
- Binder, MapBinder
public class RimuHostingRebootJsonBinder
- extends RimuHostingJsonBinder
Need to PUT a static string
{"request":{"running_state":"RESTARTING"}
- Author:
- Ivan Meredith
Method Summary |
|
bindToRequest(R request,
Map<String,String> postParams)
creates and binds the POST payload to the request using parameters specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RimuHostingRebootJsonBinder
@Inject
public RimuHostingRebootJsonBinder(Json jsonBinder)
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 RimuHostingJsonBinder
- See Also:
PayloadParam
Copyright © 2009-2012 jclouds. All Rights Reserved.