Splunk MINT SDK for Android
4.4
|
Public Member Functions | |
int | getResponseCode () |
Exception | getException () |
Boolean | getSentSuccessfully () |
String | getServerResponse () |
String | getData () |
String | getUrl () |
void | setUrl (String url) |
String | toString () |
Protected Member Functions | |
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.
|
inlineprotected |
Protected constructor for the NetSenderResponse class. Users will never use this constructor.
|
inline |
Returns the data that was sent.
|
inline |
Returns an exception, if any.
null
.
|
inline |
Returns an HTTP response code of the network call.
|
inline |
Indicates whether the data was sent successfully.
true
if successful, false
if not.
|
inline |
Returns the server's response.
|
inline |
Returns the URL of the network call.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Sets the url
url |
|
inline |