Keith Babo wrote:
Related to the above post.
URI u1 = new URI("jbossws:/foo:bar");System.out.println("scheme : " + u1.getScheme());System.out.println("path : " + u1.getPath());
scheme : jbosswspath : /foo:bar
Ah cool.... QED :)
I must be mixing up with the URL syntax.
On the inclusion/exclusion of the scheme... I was thinking you could support a few options and recommend the explicit use of the scheme. I just think it's nice to support at least one version common between both. Then people can just cut & paste and it works... no need to remember to add/remove the scheme. I think that would be workable... match in decreasing order of specificity type thing.