public class BaseActionRequestBuilder extends BaseRequestBuilder
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
bodyParams
The body parameters to add to this request
|
| Constructor and Description |
|---|
BaseActionRequestBuilder(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> options)
Constructs a new
BaseActionRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
getParameter(java.lang.String name)
Gets the requested parameter if present, otherwise null
|
protected boolean |
hasParameter(java.lang.String name)
Checks if the parameter map contains a object accessible by the supplied key
|
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegmentprotected java.util.Map<java.lang.String,java.lang.Object> bodyParams
public BaseActionRequestBuilder(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> options)
BaseActionRequestBuilderrequestUrl - the URL for the requestclient - the IBaseClient for handling requestsoptions - List of Options to add to this requestprotected boolean hasParameter(java.lang.String name)
name - the key used to access the stored body parameterbodyParams contains the key, otherwise falseprotected <T> T getParameter(java.lang.String name)
T - the type to which this object should be castname - the named object to retrieve