|
Public Member Functions |
status_t | AddQueryParameter (const char *name, const char *value, bool escape_all=false) |
SString | AsString () const |
SValue | AsValue () const |
bool | Equals (const SUrl &url) const |
bool | Equals (const char *) const |
const char * | GetAction () const |
const char * | GetExtension () const |
const char * | GetFragment () const |
const char * | GetHostName () const |
const char * | GetPassword () const |
const char * | GetPath () const |
unsigned short | GetPort () const |
const char * | GetQuery () const |
status_t | GetQueryParameter (const char *name, SString *out_value) const |
const char * | GetScheme () const |
void | GetUnescapedFileName (char *out, int size) const |
void | GetUnescapedPath (char *out, int size) const |
void | GetUnescapedQuery (char *out, int size) const |
const char * | GetUserName () const |
bool | IsValid () const |
| operator SValue () const |
bool | operator!= (const SUrl &url) const |
SUrl & | operator= (const SUrl &url) |
SUrl & | operator= (const char *url_string) |
| This assignment operator is equivalent to SUrl::SetTo(url_string, false).
|
bool | operator== (const char *urlString) const |
bool | operator== (const SUrl &url) const |
void | Print (SString *dump=NULL) const |
status_t | RemoveQueryParameter (const char *name) |
status_t | ReplaceQueryParameter (const char *name, const char *value, bool addIfNotPresent=true, bool escape_all=false) |
void | Reset () |
status_t | SetAction (const char *action) |
status_t | SetFragment (const char *fragment) |
status_t | SetHostName (const char *hostname) |
status_t | SetInternetStyleSchemeSupport (char queryBeginChar= '?', char queryAssignmentChar= '=', char querySeperatorChar= '&') |
status_t | SetPassword (const char *password) |
status_t | SetPath (const char *path, bool escape_all=false) |
status_t | SetPort (int port) |
status_t | SetQuery (const char *query, bool escape_all=false) |
| Set this URL's query to query .
|
status_t | SetTo (const SValue &value) |
status_t | SetTo (const SUrl &baseURL, const char *relativePath, bool escape_all=false) |
status_t | SetTo (const char *urlString, bool escape_all=false) |
status_t | SetTo (const SUrl &url) |
status_t | SetUserName (const char *user) |
| SUrl (const SValue &value, status_t *status=NULL) |
| SUrl (const SUrl &baseURL, const char *relativePath, bool escape_all=false) |
| SUrl (const char *scheme, const char *hostname, int port, bool escape_all=false, bool hierarchal=false) |
| SUrl (const char *urlString, bool escape_all=false) |
| SUrl (const SUrl &) |
| SUrl () |
| ~SUrl () |
Static Public Member Functions |
static char * | EscapePathString (bool escape_all, char *outString, const char *inString, size_t inLen=0x7fffffff) |
static char * | EscapeQueryString (bool escape_all, char *outString, const char *inString, size_t inLen=0x7fffffff) |
static int | GetEscapedLength (const char *unescaped_string, size_t inLen=0x7fffffff) |
static bool | IsSchemeSupported (const char *scheme) |