cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-4281) uribuilder from null?
Date Fri, 04 May 2012 09:28:49 GMT


Sergey Beryozkin commented on CXF-4281:

The following test works for me locally, we have few of tests like this one:
    public void testFromEncodedDuplicateVar3() {
        String expected = "http://localhost:8080/1/2/3/1";
        URI uri = UriBuilder.fromPath("http://localhost:8080")
                            .buildFromEncoded("1", "2", "3");

        assertEquals(expected, uri.toString());        

Can you get a breakpoint inside UriBuilderImpl.doPath(...) ? You should hit a block specifically
checking if a given path represents a URI and if yes then it gelegates to a uri handler. May
be also ping me on IRC ?
> uribuilder from null?
> ---------------------
>                 Key: CXF-4281
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
> in tomee/openejb we need to patch the uri builder to be able to satisfied some cases
(UriBuilder.fromPath(null) for instance)
> here is the patched builder working for us:
> any way to get it merged with cxf?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message