Inheritance diagram for MutableUri:
Public Member Functions | |
this () | |
this (char[] uri) | |
this (char[] scheme, char[] host, char[] path, char[] query=null) | |
void | reset () |
MutableUri | parse (char[] uri) |
MutableUri | setScheme (char[] scheme) |
MutableUri | setHost (char[] host) |
MutableUri | setPort (int port) |
MutableUri | setUserInfo (char[] userinfo) |
MutableUri | setQuery (char[] query) |
char[] | extendQuery (char[] tail) |
MutableUri | setPath (char[] path) |
MutableUri | setFragment (char[] fragment) |
Static Public Member Functions | |
static MutableUri | clone (Uri uri) |
Private Member Functions | |
char[] | getScheme () |
char[] | getHost () |
int | getPort () |
int | getValidPort () |
char[] | getUserInfo () |
char[] | getPath () |
char[] | getQuery () |
char[] | getFragment () |
bool | isGeneric () |
IBuffer | write (IBuffer buf) |
void | write (IWriter writer) |
char[] | decode (char[] s) |
Static Private Member Functions | |
static final int | getDefaultPort (char[] scheme) |
Private Attributes | |
const int | InvalidPort = -1 |
Definition at line 655 of file Uri.d.
|
Create an empty Uri Reimplemented from Uri. |
|
Create a Uri from the provided text string. Reimplemented from Uri. |
|
Construct a Uri from the given components. The query is optional. |
|
Clone another Uri. This can be used to make a MutableUri from an immutable Uri. |
|
Clear everything to null. Definition at line 721 of file Uri.d. Referenced by HttpRequest::reset(). |
|
Parse the given uri string Reimplemented from Uri. Definition at line 734 of file Uri.d. Referenced by HttpRequest::getRequestUri(), and HttpClient::open(). |
|
Set the Uri scheme Definition at line 746 of file Uri.d. Referenced by HttpRequest::getRequestUri(), and FilePath::toUri(). |
|
Set the Uri host Definition at line 758 of file Uri.d. Referenced by HttpRequest::getExplicitUri(), and FilePath::toUri(). |
|
Set the Uri port |
|
Set the Uri userinfo |
|
Set the Uri query |
|
Extend the Uri query Definition at line 806 of file Uri.d. Referenced by HttpClient::open(). |
|
Set the Uri path Definition at line 822 of file Uri.d. Referenced by FilePath::toUri(). |
|
Set the Uri fragment |
|
Definition at line 251 of file Uri.d. References Uri::genericSchemes, Uri::InvalidPort, and Uri::port. Referenced by Uri::getValidPort(), and Uri::write(). |
|
Definition at line 266 of file Uri.d. References Uri::scheme. Referenced by HttpRequest::getRequestUri(). |
|
Definition at line 278 of file Uri.d. References Uri::host. Referenced by HttpRequest::getExplicitUri(), HttpRequest::getHost(), HttpClient::open(), and HttpClient::this(). |
|
Definition at line 290 of file Uri.d. References Uri::port. Referenced by HttpRequest::getHost(). |
|
Definition at line 302 of file Uri.d. References Uri::getDefaultPort(), Uri::InvalidPort, Uri::port, and Uri::scheme. Referenced by HttpClient::this(). |
|
Definition at line 316 of file Uri.d. References Uri::userinfo. |
|
Definition at line 328 of file Uri.d. References Uri::path. Referenced by HttpClient::open(), and ServletProvider::service(). |
|
Definition at line 340 of file Uri.d. References Uri::query. Referenced by HttpRequest::getInputParameters(). |
|
Definition at line 352 of file Uri.d. References Uri::fragment. |
|
Definition at line 363 of file Uri.d. References Uri::genericSchemes, and Uri::scheme. |
|
Definition at line 375 of file Uri.d. References IBuffer::append(), Uri::encode(), Uri::fragment, Uri::getDefaultPort(), Uri::host, Uri::IncPath, Uri::IncQuery, Uri::IncUser, Integer, Uri::InvalidPort, Uri::path, Uri::port, Uri::query, Uri::scheme, and Uri::userinfo. Referenced by Uri::write(). |
|
Reimplemented from IWritable. Definition at line 423 of file Uri.d. References IWriter::getBuffer(), and Uri::write(). |
|
Definition at line 436 of file Uri.d. References Uri::decoded, HeapSlice::expand(), memchr(), and HeapSlice::slice(). Referenced by HttpRequest::getInputParameters(), Uri::parse(), and Uri::parseAuthority(). |
|
Definition at line 76 of file Uri.d. Referenced by Uri::getDefaultPort(), HttpRequest::getHost(), Uri::getValidPort(), Uri::this(), and Uri::write(). |