http://www.example.org/test
http://www.example.org/test/index.(html|json|xml)
http://www.example.org/test/index_de.(html|json|xml)
http://www.example.org/test/127.(html|json|xml)
636465666768697071
@Test public void queryEscaping() throws Exception { WebURL parent = new WebURL("http://foo.com/abc/def/ghi.asmx?q=foo%3Dbar"); WebURL resolved = parent.resolve("?q=bar%3Dfoo"); assertEquals(resolved.toASCIIString(),"http://foo.com/abc/def/ghi.asmx?q=bar%3Dfoo"); }