public abstract class BaseProfitBricksRequestBinder<T> extends Object implements MapBinder
| Modifier | Constructor and Description | 
|---|---|
protected  | 
BaseProfitBricksRequestBinder(String paramName)  | 
| 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 input)  | 
protected abstract String | 
createPayload(T payload)  | 
protected <R extends HttpRequest>  | 
createRequest(R fromRequest,
             String payload)  | 
protected static String | 
formatIfNotEmpty(String pattern,
                Object param)  | 
protected static String | 
nullableToString(Object object)  | 
protected final String paramName
protected BaseProfitBricksRequestBinder(String paramName)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinderbindToRequest in interface MapBinderPayloadParampublic <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest in interface Binderprotected <R extends HttpRequest> R createRequest(R fromRequest, String payload)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.