java.lang.Object | ||
↳ | PayPalRetailObject | |
↳ | com.paypal.paypalretailsdk.NetworkRequest |
The NetworkRequest class represents the HTTP Request object from the SDK
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | continueWithResponse(RetailSDKException err, Boolean didHandle, NetworkResponse response) | ||||||||||
String |
getBody()
Request body
| ||||||||||
String |
getFormat()
Format of the HTTP Request
| ||||||||||
Map<String, ? super Object> |
getHeaders()
HTTP Request headers
| ||||||||||
String |
getMethod()
HTTP Request method
| ||||||||||
String |
getUrl()
Request Url
| ||||||||||
void |
setBody(String value)
Request body
| ||||||||||
void |
setFormat(String value)
Format of the HTTP Request
| ||||||||||
void |
setHeaders(Map<String, ? super Object> value)
HTTP Request headers
| ||||||||||
void |
setMethod(String value)
HTTP Request method
| ||||||||||
void |
setUrl(String value)
Request Url
| ||||||||||
String |
toString()
Returns a string representing the serialized state of the NetworkRequest object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Request body
Format of the HTTP Request
HTTP Request headers
HTTP Request method
Request Url
Request body
Format of the HTTP Request
HTTP Request headers
HTTP Request method
Request Url
Returns a string representing the serialized state of the NetworkRequest object