Elements
|
string Complete
|
- Description
- contains the unparsed original URL, for example,
http://me:pass @www.sun.de:8080/pub/test/foo.txt?a=b#xyz
|
string Main
|
- Description
- contains the URL without a mark and without arguments, for example,
http://me:pass @www.sun.de:8080/pub/test/foo.txt
|
string Protocol
|
- Description
- contains the protocol (scheme) of the URL, for example, "http"
|
string User
|
- Description
- contains the user-identifier of the URL, for example, "me"
|
string Password
|
- Description
- contains the users password of the URL, for example, "pass"
|
string Server
|
- Description
- contains the server part of the URL, for example, "www.sun.de"
|
short Port
|
- Description
- contains the port at the server of the URL, for example, "8080"
|
string Path
|
- Description
- contains the path part of the URL without the filename, for example, "/pub/test"
|
string Name
|
- Description
- contains the filename part of the URL, for example, "foo.txt"
|
string Arguments
|
- Description
- contains the arguments part of the URL, for example, "a=b"
|
string Mark
|
- Description
- contains the mark part of the URL, for example, "xyz"
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.