@Singleton public class BindBackupScheduleToJsonPayload extends BindToJsonPayload
jsonBinder
Constructor and Description |
---|
BindBackupScheduleToJsonPayload(Json jsonBinder) |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,String> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object toBind) |
public <R extends HttpRequest> R bindToRequest(R request, Map<String,String> postParams)
MapBinder
bindToRequest
in interface MapBinder
bindToRequest
in class BindToJsonPayload
PayloadParam
public <R extends HttpRequest> R bindToRequest(R request, Object toBind)
bindToRequest
in interface Binder
bindToRequest
in class BindToJsonPayload
Copyright © 2009-2012 jclouds. All Rights Reserved.