Public Member Functions | |
void | shutdown () |
Releases any resources and shuts down. More... | |
HttpResponseArgs | sendBinary (final HttpRequestArgs requestArgs) |
void | sendBinaryAsync (HttpRequestArgs requestArgs, IAction1< HttpResponseArgs > callback) |
HttpResponseArgs | sendText (HttpRequestArgs requestArgs) |
void | sendTextAsync (HttpRequestArgs requestArgs, final IAction1< HttpResponseArgs > callback) |
Public Member Functions inherited from fm.liveswitch.HttpTransfer | |
fm.liveswitch.HttpResponseArgs | send (fm.liveswitch.HttpRequestArgs requestArgs) |
Sends a request synchronously. More... | |
void | sendAsync (fm.liveswitch.HttpRequestArgs requestArgs, fm.liveswitch.IAction1< fm.liveswitch.HttpResponseArgs > callback) |
Sends a request asynchronously. More... | |
abstract fm.liveswitch.HttpResponseArgs | sendBinary (fm.liveswitch.HttpRequestArgs requestArgs) |
Sends binary content synchronously using the specified arguments. More... | |
abstract void | sendBinaryAsync (fm.liveswitch.HttpRequestArgs requestArgs, fm.liveswitch.IAction1< fm.liveswitch.HttpResponseArgs > callback) |
Sends binary content asynchronously using the specified arguments. More... | |
abstract fm.liveswitch.HttpResponseArgs | sendText (fm.liveswitch.HttpRequestArgs requestArgs) |
Sends text content synchronously using the specified arguments. More... | |
abstract void | sendTextAsync (fm.liveswitch.HttpRequestArgs requestArgs, fm.liveswitch.IAction1< fm.liveswitch.HttpResponseArgs > callback) |
Sends text content asynchronously using the specified arguments. More... | |
Static Public Member Functions | |
static String | getPlatformCode () |
Static Public Member Functions inherited from fm.liveswitch.HttpTransfer | |
static void | addOnSendFinish (fm.liveswitch.IAction1< fm.liveswitch.HttpSendFinishArgs > value) |
Adds a handler that is raised before an HTTP request is sent. More... | |
static void | addOnSendStart (fm.liveswitch.IAction1< fm.liveswitch.HttpSendStartArgs > value) |
Adds a handler that is raised before an HTTP request is sent. More... | |
static String | addQueryToUrl (String url, String key) |
Escapes and adds a query parameter as a key/empty-value pair to a URL. More... | |
static String | addQueryToUrl (String url, String key, String value) |
Escapes and adds a query parameter as a key/value pair to a URL. More... | |
static String | getRandomWildcardCharacter () |
Gets a random wildcard character. More... | |
static String | getWildcardCharacters () |
Gets the wildcard characters used to replace asterisks in ReplaceWildcards. More... | |
static void | removeOnSendFinish (fm.liveswitch.IAction1< fm.liveswitch.HttpSendFinishArgs > value) |
Removes a handler that is raised before an HTTP request is sent. More... | |
static void | removeOnSendStart (fm.liveswitch.IAction1< fm.liveswitch.HttpSendStartArgs > value) |
Removes a handler that is raised before an HTTP request is sent. More... | |
static String | replaceWildcards (String url) |
Replaces asterisks in URLs with characters from WildcardCharacters. More... | |
static void | setWildcardCharacters (String value) |
Sets the wildcard characters used to replace asterisks in ReplaceWildcards. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from fm.liveswitch.HttpTransfer | |
HttpTransfer () | |
|
static |
HttpResponseArgs fm.liveswitch.HttpWebRequestTransfer.sendBinary | ( | final HttpRequestArgs | requestArgs | ) |
void fm.liveswitch.HttpWebRequestTransfer.sendBinaryAsync | ( | HttpRequestArgs | requestArgs, |
IAction1< HttpResponseArgs > | callback | ||
) |
HttpResponseArgs fm.liveswitch.HttpWebRequestTransfer.sendText | ( | HttpRequestArgs | requestArgs | ) |
void fm.liveswitch.HttpWebRequestTransfer.sendTextAsync | ( | HttpRequestArgs | requestArgs, |
final IAction1< HttpResponseArgs > | callback | ||
) |
void fm.liveswitch.HttpWebRequestTransfer.shutdown | ( | ) |
Releases any resources and shuts down.
Reimplemented from fm.liveswitch.HttpTransfer.