|
| NetSenderResponse (final String url, final String data) |
|
void | setResponseCode (int responseCode) |
|
void | setException (Exception exception) |
|
void | setSentSuccessfully (Boolean sendSuccessfully) |
|
void | setServerResponse (String serverResponse) |
|
void | setData (String data) |
|
The NetSenderResponse class is a callback from the MintCallback interface, which returns a NetSenderResponse object for a data send attempt. This object contains information about the data to be saved, the file path, the exception (if any, or null
), and a Boolean indicating whether the data was sent successfully.
com.splunk.mint.NetSenderResponse.NetSenderResponse |
( |
final String |
url, |
|
|
final String |
data |
|
) |
| |
|
protected |
Protected constructor for the NetSenderResponse class. Users will never use this constructor.
String com.splunk.mint.NetSenderResponse.getData |
( |
| ) |
|
Returns the data that was sent.
- Returns
- The data.
Exception com.splunk.mint.NetSenderResponse.getException |
( |
| ) |
|
Returns an exception, if any.
- Returns
- The exception or
null
.
int com.splunk.mint.NetSenderResponse.getResponseCode |
( |
| ) |
|
Returns an HTTP response code of the network call.
- Returns
- The response code.
Boolean com.splunk.mint.NetSenderResponse.getSentSuccessfully |
( |
| ) |
|
Indicates whether the data was sent successfully.
- Returns
true
if successful, false
if not.
String com.splunk.mint.NetSenderResponse.getServerResponse |
( |
| ) |
|
Returns the server's response.
- Returns
- The response.
String com.splunk.mint.NetSenderResponse.getUrl |
( |
| ) |
|
Returns the URL of the network call.
- Returns
- The URL.
void com.splunk.mint.NetSenderResponse.setUrl |
( |
String |
url | ) |
|
Sets the URL of the network call.
- Parameters
-
The documentation for this class was generated from the following file:
- /Users/apruneda/Documents/Draze/BugsenseRepos/mint-android-sdk/src/com/splunk/mint/NetSenderResponse.java