|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Uniform Resource Identifier
Field Summary | |
---|---|
string | extension |
string | filename |
string | fragment |
string | fullPath |
System.Collections.Specialized.NameValueCollection | getQuery |
bool | isAbsolute |
string | netLoc |
string | original |
string | path |
string | port |
string | query |
string | safePath |
ClintHeyer.Httpd.URI.Schemes | scheme |
string | userDetails |
Constructor Summary | |
---|---|
URI(string original, bool isAbsolute, ClintHeyer.Httpd.URI.Schemes scheme, string netLoc, string fullPath, string path, string port, string filename, string query, string userDetails, string fragment) |
Property Summary | |
---|---|
string |
Extension
Gets the extension (where available) |
string |
Filename
Gets or sets the filename. Can be changed by a context to handle default '/' type URIs |
string |
Fragment
Gets any fragment |
string |
FullPath
Gets the full path |
string |
FullURI
Gets the full Uri |
System.Collections.Specialized.NameValueCollection | GetVariables |
bool |
IsAbsolute
Gets whether the Uri points to an absolute resource |
string |
Location
Gets the location |
string |
Path
Gets the path |
string |
Port
Gets the port |
string |
Query
Gets any raw query information |
string |
SafePath
Gets or sets the 'safe' path for the Uri, which stripped of filesystem escape characters |
ClintHeyer.Httpd.URI.Schemes |
Scheme
Gets the scheme |
string | UserDetails |
Method Summary | |
---|---|
bool |
IsLegal(string p) Checks a string for illegal characters |
ClintHeyer.Httpd.URI |
Parse(string p) Parses the given Uri string |
ClintHeyer.Httpd.URI | Parse(string p, string userScheme) |
void | ProcessQuery() |
string |
ToString() Gets a string representation of uri |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone |
Field Detail |
---|
private string extension
private string filename
private string fragment
private string fullPath
private System.Collections.Specialized.NameValueCollection getQuery
private bool isAbsolute
private string netLoc
private string original
private string path
private string port
private string query
private string safePath
private ClintHeyer.Httpd.URI.Schemes scheme
private string userDetails
Constructor Detail |
---|
private URI(string original, bool isAbsolute, ClintHeyer.Httpd.URI.Schemes scheme, string netLoc, string fullPath, string path, string port, string filename, string query, string userDetails, string fragment)
Property Detail |
---|
public string Extension
Gets the extension (where available)
public string Filename
Gets or sets the filename. Can be changed by a context to handle default '/' type URIs
public string Fragment
Gets any fragment
public string FullPath
Gets the full path
public string FullURI
Gets the full Uri
public System.Collections.Specialized.NameValueCollection GetVariables
public bool IsAbsolute
Gets whether the Uri points to an absolute resource
public string Location
Gets the location
public string Path
Gets the path
public string Port
Gets the port
public string Query
Gets any raw query information
public string SafePath
Gets or sets the 'safe' path for the Uri, which stripped of filesystem escape characters
public ClintHeyer.Httpd.URI.Schemes Scheme
Gets the scheme
public string UserDetails
Method Detail |
---|
private bool IsLegal(string p)
Checks a string for illegal characters
Parameters:
p
- public ClintHeyer.Httpd.URI Parse(string p)
Parses the given Uri string
Parameters:
p
- UriClintHeyer.Httpd.MalformedURIException
- Uri is malformedpublic ClintHeyer.Httpd.URI Parse(string p, string userScheme)
private void ProcessQuery()
public string ToString()
Gets a string representation of uri
Returns:
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |