@Singleton public class BindAuthToJsonPayload extends BindToJsonPayload implements MapBinder
jsonBinder| Constructor and Description |
|---|
BindAuthToJsonPayload(Json jsonBinder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCredentialsInArgsOrNull(GeneratedHttpRequest gRequest,
com.google.common.collect.ImmutableMap.Builder<String,Object> builder) |
<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 BindAuthToJsonPayload(Json jsonBinder)
public <R extends HttpRequest> R bindToRequest(R request, Object toBind)
bindToRequest in interface BinderbindToRequest in class BindToJsonPayloadprotected void addCredentialsInArgsOrNull(GeneratedHttpRequest gRequest, com.google.common.collect.ImmutableMap.Builder<String,Object> builder)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinderbindToRequest in interface MapBinderbindToRequest in class BindToJsonPayloadPayloadParamCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.