public class

NetworkRequest

extends PayPalRetailObject
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.NetworkRequest

Class Overview

The NetworkRequest class represents the HTTP Request object from the SDK

Summary

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
From class java.lang.Object

Public Methods

public void continueWithResponse (RetailSDKException err, Boolean didHandle, NetworkResponse response)

public String getBody ()

Request body

public String getFormat ()

Format of the HTTP Request

public Map<String, ? super Object> getHeaders ()

HTTP Request headers

public String getMethod ()

HTTP Request method

public String getUrl ()

Request Url

public void setBody (String value)

Request body

public void setFormat (String value)

Format of the HTTP Request

public void setHeaders (Map<String, ? super Object> value)

HTTP Request headers

public void setMethod (String value)

HTTP Request method

public void setUrl (String value)

Request Url

public String toString ()

Returns a string representing the serialized state of the NetworkRequest object