public class PMRequestBuilder extends java.lang.Object implements PMRequestBuilding
| Constructor and Description |
|---|
PMRequestBuilder(PMAdRequest request,
java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
PMHttpRequest |
build()
Method prepares the PMHttpRequest object from the necessary reference variable
|
void |
setAdditionalParam(java.lang.String key,
java.lang.String value)
The method takes kay and value and add it to map as additional parameter
|
void |
setAppInfo(PMAppInfo appInfo)
The method takes value of PMAppInfo and set it to specific
reference variable
|
void |
setDeviceInfo(PMDeviceInfo deviceInfo)
The method takes value of PMDeviceInfo and set it to
specific reference variable
|
void |
setLocationDetector(PMLocationDetector locationDetector)
The method takes PMLocationDetector object and sets it to
specific reference variable
|
void |
setNetworkMonitor(PMNetworkMonitor networkMonitor)
The method takes PMNetworkMonitor object and sets it to
specific reference variable
|
public PMRequestBuilder(PMAdRequest request, java.lang.String url)
public void setLocationDetector(PMLocationDetector locationDetector)
locationDetector - value of LocationDetector objectpublic void setNetworkMonitor(PMNetworkMonitor networkMonitor)
networkMonitor - value of PMNetworkMonitor objectpublic void setAdditionalParam(java.lang.String key,
java.lang.String value)
key - as key of addition parameter of type stringvalue - as value of the respective key of type stringpublic void setDeviceInfo(PMDeviceInfo deviceInfo)
deviceInfo - value PMDeviceInfo objectpublic void setAppInfo(PMAppInfo appInfo)
appInfo - value of type PMAppInfopublic PMHttpRequest build()
build in interface PMRequestBuilding