ypassword@server.xmlBlaster.org:3412 http://x.org:6000/mypath/? http://server.xmlBlaster.org:3412/myPath#myFragment http://server.xmlBlaster.org:3412/myPath?key.oid=MyMessage http://server.xmlBlaster.org:3412/myPath/?key.oid=MyMessage http://server.xmlBlaster.org:3412/myPath?key.oid=MyMessage#myFragment
http://joe:mypassword@server.xmlBlaster.org:3412/myPath?key.oid=MyMessage#myFragment Protocol: http Host: server.xmlBlaster.org Port: 3412 File: /myPath?key.oid=MyMessage Path: /myPath Query: key.oid=MyMessage Ref: myFragment UserInfo: joe:mypassword
http:/myPath/?key.oid=MyMessage#myFragment Protocol: http Host: Port: -1 File: /myPath/?key.oid=MyMessage Path: /myPath/ Query: key.oid=MyMessage Ref: myFragment UserInfo: null
INVALID: http://server.xmlBlaster.org:3412/myPath#myFragment?key.oid=MyMessage getRef() == Fragment
Note: Using a '@' character in the username or password should be written as '%40', but we handle the '@' as well to ease the use.
@see SocketUrl.java