@Singleton public class BindMapToStringPayload extends Object implements MapBinder
| Modifier and Type | Field and Description |
|---|---|
protected Provider<UriBuilder> |
uriBuilders |
| Constructor and Description |
|---|
BindMapToStringPayload(Provider<UriBuilder> uriBuilders) |
| 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 Provider<UriBuilder> uriBuilders
@Inject public BindMapToStringPayload(Provider<UriBuilder> uriBuilders)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,String> postParams)
MapBinderbindToRequest in interface MapBinderPayloadParampublic <R extends HttpRequest> R bindToRequest(R request, Object payload)
bindToRequest in interface BinderCopyright © 2009-2012 jclouds. All Rights Reserved.