@Singleton public class BindCredentialsToJsonPayload extends BindToJsonPayload implements MapBinder
jsonBinder
Constructor and Description |
---|
BindCredentialsToJsonPayload(Json jsonBinder) |
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 toBind) |
@Inject public BindCredentialsToJsonPayload(Json jsonBinder)
public <R extends HttpRequest> R bindToRequest(R request, Object toBind)
bindToRequest
in interface Binder
bindToRequest
in class BindToJsonPayload
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
bindToRequest
in class BindToJsonPayload
PayloadParam
Copyright © 2009-2013 jclouds. All Rights Reserved.