@Singleton public class BindKeyPairToJsonPayload extends BindToJsonPayload
jsonBinder
Constructor and Description |
---|
BindKeyPairToJsonPayload(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.
|
bindToRequest
@Inject public BindKeyPairToJsonPayload(Json jsonBinder)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
bindToRequest
in class BindToJsonPayload
PayloadParam
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.