23 #ifndef __ccxx_URL_hxx 24 #define __ccxx_URL_hxx 87 void setPath(
const String& path);
95 {
return(_canonicalPath); }
114 bool isValid()
const;
124 {
return(!
operator==(other)); }
130 URL& operator=(
const URL& other);
151 void _parseURL(
const String& url);
166 #endif // __ccxx_URL_hxx
String getScheme() const
Get the scheme component of the URL.
Definition: URL.h++:62
bool operator==(const Blob &b1, const Blob &b2)
Definition: Blob.h++:344
A regular expression.
Definition: RegExp.h++:75
String getCanonicalPath() const
Get the path component of the URL, in canonicalized form.
Definition: URL.h++:94
A class representing a URL (Uniform Resource Locator).
Definition: URL.h++:41
String getHost() const
Get the hostname component of the URL.
Definition: URL.h++:70
String getQuery() const
Get the query component of the URL.
Definition: URL.h++:110
void setScheme(const String &scheme)
Set the scheme component of the URL.
Definition: URL.h++:58
#define COMMONCPP_API
Definition: Common.h++:126
uint16_t getPort() const
Get the port number for the URL.
Definition: URL.h++:83
void setHost(const String &host)
Set the hostname component of the URL.
Definition: URL.h++:66
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
bool operator!=(const URL &other) const
Inequality operator.
Definition: URL.h++:123
void setQuery(const String &query)
Set the query component of the URL.
Definition: URL.h++:102
String getPath() const
Get the path component of the URL.
Definition: URL.h++:90
void setPort(uint16_t port)
Set the port number for the URL.
Definition: URL.h++:76
static const String null
The null string.
Definition: String.h++:1128
Definition: AllocationMap.c++:25