org.jclouds.cloudservers.binders
Class BindBackupScheduleToJsonPayload

java.lang.Object
  extended by org.jclouds.rest.binders.BindToJsonPayload
      extended by org.jclouds.cloudservers.binders.BindBackupScheduleToJsonPayload
All Implemented Interfaces:
Binder, MapBinder

@Singleton
public class BindBackupScheduleToJsonPayload
extends BindToJsonPayload

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.rest.binders.BindToJsonPayload
jsonBinder
 
Constructor Summary
BindBackupScheduleToJsonPayload(Json jsonBinder)
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Map<String,String> postParams)
          creates and binds the POST payload to the request using parameters specified.
<R extends HttpRequest>
R
bindToRequest(R request, Object toBind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindBackupScheduleToJsonPayload

@Inject
public BindBackupScheduleToJsonPayload(Json jsonBinder)
Method Detail

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

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object toBind)
Specified by:
bindToRequest in interface Binder
Overrides:
bindToRequest in class BindToJsonPayload


Copyright © 2009-2011 jclouds. All Rights Reserved.