java.lang.Object | ||
↳ | PayPalRetailObject | |
↳ | com.paypal.paypalretailsdk.NetworkResponse |
NetworkResponse class represents contains the response from HTTPRequest in a format that is compatible with the SDK
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NetworkResponse() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getBody()
Response body
| ||||||||||
String |
getFormat()
Format of the response body
| ||||||||||
Map<String, ? super Object> |
getHeaders()
Response headers
| ||||||||||
String |
getStatusCode()
Response status code
| ||||||||||
void |
setBody(String value)
Response body
| ||||||||||
void |
setFormat(String value)
Format of the response body
| ||||||||||
void |
setHeaders(Map<String, ? super Object> value)
Response headers
| ||||||||||
void |
setStatusCode(String value)
Response status code
| ||||||||||
String |
toString()
Returns a string representing the serialized state of the NetworkResponse object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Response body
Format of the response body
Response headers
Response status code
Response body
Format of the response body
Response headers
Response status code
Returns a string representing the serialized state of the NetworkResponse object