@Singleton public class BindParamsToXmlPayload extends Object implements MapBinder
| Modifier and Type | Field and Description |
|---|---|
protected String |
element |
protected String |
ns |
protected BindToStringPayload |
stringBinder |
| Constructor and Description |
|---|
BindParamsToXmlPayload(String element,
BindToStringPayload stringBinder,
String ns) |
| Modifier and Type | Method and Description |
|---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
protected final String ns
protected final BindToStringPayload stringBinder
protected final String element
@Inject public BindParamsToXmlPayload(String element, BindToStringPayload stringBinder, @Named(value="jclouds.vcloud.xml.ns") String ns)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinderbindToRequest in interface MapBinderPayloadParampublic <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest in interface BinderCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.