public class BindToJsonPayload extends Object implements MapBinder
Modifier and Type | Field and Description |
---|---|
protected Json |
jsonBinder |
Constructor and Description |
---|
BindToJsonPayload(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 payload) |
protected final Json jsonBinder
public <R extends HttpRequest> R bindToRequest(R request, Map<String,String> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public <R extends HttpRequest> R bindToRequest(R request, Object payload)
bindToRequest
in interface Binder
Copyright © 2009-2012 jclouds. All Rights Reserved.