public class GenericRequestBody
extends Object
| Constructor and Description |
|---|
GenericRequestBody() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiName()
Returns the API end point that will be invoked
|
Class |
getApiReturnType()
Returns the returned value as Class object
|
String |
getApiURL()
Returns the API end point URL that will be invoked
|
MultiValueMap<String,Object> |
getFormParameters()
Returns all the form parameters as a map
|
Map<String,Object> |
getHeaderKeyValue()
Returns all the header values as a map
|
String |
getHttpMethod()
Returns the HTTP method (GET, PUT, POST, DELETE) used to invoke the API end point as a String
It also indicates whether the calls to used to create, read, update or delete the data using the API invocation
|
String |
getIfMatch()
Returns the if-Match value as String
|
String |
getIfNoneMatch()
Returns the if-None-Match value as String
|
Map<String,Object> |
getInputParameterMap()
Returns Input Parameters supplied to invoke the API end point as a Map
|
Object |
getInputRequestBody()
Returns the input request body as Object
|
void |
setApiName(String apiName) |
void |
setApiReturnType(Class apiReturnType) |
void |
setApiURL(String apiURL) |
void |
setFormParameters(MultiValueMap<String,Object> formParams) |
void |
setHeaderKeyValue(Map<String,Object> headerKeyValue) |
void |
setHttpMethod(String httpMethod) |
void |
setIfMatch(String ifMatch) |
void |
setIfNoneMatch(String ifNoneMatch) |
void |
setInputParameterMap(Map<String,Object> inputParameterMap) |
void |
setInputRequestBody(Object inputRequestBody) |
public Map<String,Object> getHeaderKeyValue()
public void setHeaderKeyValue(Map<String,Object> headerKeyValue)
public Class getApiReturnType()
public void setApiReturnType(Class apiReturnType)
public Map<String,Object> getInputParameterMap()
public void setInputParameterMap(Map<String,Object> inputParameterMap)
public String getHttpMethod()
public void setHttpMethod(String httpMethod)
public String getApiURL()
public void setApiURL(String apiURL)
public String getApiName()
public void setApiName(String apiName)
public Object getInputRequestBody()
public void setInputRequestBody(Object inputRequestBody)
public String getIfNoneMatch()
public void setIfNoneMatch(String ifNoneMatch)
public String getIfMatch()
public void setIfMatch(String ifMatch)
public MultiValueMap<String,Object> getFormParameters()
public void setFormParameters(MultiValueMap<String,Object> formParams)