org.jclouds.rimuhosting.miro.binder
Class RimuHostingJsonBinder

java.lang.Object
  extended by org.jclouds.rest.binders.BindToJsonPayload
      extended by org.jclouds.rimuhosting.miro.binder.RimuHostingJsonBinder
All Implemented Interfaces:
Binder, MapBinder
Direct Known Subclasses:
CreateServerOptions, RimuHostingRebootJsonBinder

public class RimuHostingJsonBinder
extends BindToJsonPayload

Generic binder for RimuHosting POSTS/PUTS. In the form of {"request":{...}}

Author:
Ivan Meredith

Field Summary
 
Fields inherited from class org.jclouds.rest.binders.BindToJsonPayload
jsonBinder
 
Constructor Summary
RimuHostingJsonBinder()
           
 
Method Summary
 void bindToRequest(HttpRequest request, Map<String,String> postParams)
           
 void bindToRequest(HttpRequest request, Object toBind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RimuHostingJsonBinder

public RimuHostingJsonBinder()
Method Detail

bindToRequest

public void bindToRequest(HttpRequest request,
                          Map<String,String> postParams)
Specified by:
bindToRequest in interface MapBinder
Overrides:
bindToRequest in class BindToJsonPayload

bindToRequest

public void bindToRequest(HttpRequest request,
                          Object toBind)
Specified by:
bindToRequest in interface Binder
Overrides:
bindToRequest in class BindToJsonPayload


Copyright © 2009-2010 jclouds. All Rights Reserved.