Arguments for receiving an HTTP response. More...
Public Member Functions | |
byte[] | getBinaryContent () |
Gets the binary content read from the HTTP response. More... | |
java.lang.Exception | getException () |
Gets the exception generated while completing the request. More... | |
java.util.HashMap< String, String > | getHeaders () |
Gets the headers read from the HTTP response. More... | |
fm.liveswitch.HttpRequestArgs | getRequestArgs () |
Gets the original fm.liveswitch.HttpRequestArgs. More... | |
int | getRetries () |
Gets the number of retries that were required. More... | |
int | getStatusCode () |
Gets the status code read from the HTTP response. More... | |
String | getTextContent () |
Gets the text content read from the HTTP response. More... | |
HttpResponseArgs (fm.liveswitch.HttpRequestArgs requestArgs) | |
Initializes a new instance of the fm.liveswitch.HttpResponseArgs class. More... | |
void | setBinaryContent (byte[] value) |
Sets the binary content read from the HTTP response. More... | |
void | setException (java.lang.Exception value) |
Sets the exception generated while completing the request. More... | |
void | setRequestArgs (fm.liveswitch.HttpRequestArgs value) |
Sets the original fm.liveswitch.HttpRequestArgs. More... | |
void | setRetries (int value) |
Sets the number of retries that were required. More... | |
void | setStatusCode (int value) |
Sets the status code read from the HTTP response. More... | |
void | setTextContent (String value) |
Sets the text content read from the HTTP response. More... | |
Arguments for receiving an HTTP response.
fm.liveswitch.HttpResponseArgs.HttpResponseArgs | ( | fm.liveswitch.HttpRequestArgs | requestArgs | ) |
Initializes a new instance of the fm.liveswitch.HttpResponseArgs class.
requestArgs | The request arguments. |
byte [] fm.liveswitch.HttpResponseArgs.getBinaryContent | ( | ) |
Gets the binary content read from the HTTP response.
java.lang.Exception fm.liveswitch.HttpResponseArgs.getException | ( | ) |
Gets the exception generated while completing the request.
java.util.HashMap<String,String> fm.liveswitch.HttpResponseArgs.getHeaders | ( | ) |
Gets the headers read from the HTTP response.
fm.liveswitch.HttpRequestArgs fm.liveswitch.HttpResponseArgs.getRequestArgs | ( | ) |
Gets the original fm.liveswitch.HttpRequestArgs.
int fm.liveswitch.HttpResponseArgs.getRetries | ( | ) |
Gets the number of retries that were required.
int fm.liveswitch.HttpResponseArgs.getStatusCode | ( | ) |
Gets the status code read from the HTTP response.
String fm.liveswitch.HttpResponseArgs.getTextContent | ( | ) |
Gets the text content read from the HTTP response.
void fm.liveswitch.HttpResponseArgs.setBinaryContent | ( | byte[] | value | ) |
Sets the binary content read from the HTTP response.
void fm.liveswitch.HttpResponseArgs.setException | ( | java.lang.Exception | value | ) |
Sets the exception generated while completing the request.
void fm.liveswitch.HttpResponseArgs.setRequestArgs | ( | fm.liveswitch.HttpRequestArgs | value | ) |
Sets the original fm.liveswitch.HttpRequestArgs.
void fm.liveswitch.HttpResponseArgs.setRetries | ( | int | value | ) |
Sets the number of retries that were required.
void fm.liveswitch.HttpResponseArgs.setStatusCode | ( | int | value | ) |
Sets the status code read from the HTTP response.
void fm.liveswitch.HttpResponseArgs.setTextContent | ( | String | value | ) |
Sets the text content read from the HTTP response.