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,Object> 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
@Inject public BindToJsonPayload(Json jsonBinder)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinderbindToRequest in interface MapBinderPayloadParampublic <R extends HttpRequest> R bindToRequest(R request, Object payload)
bindToRequest in interface BinderCopyright © 2009–2021 The Apache Software Foundation. All rights reserved.