[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gili updated HTTPCLIENT-2130:
-----------------------------
    Affects Version/s: 5.0.3

> Ability to append to the path of a URIBuilder
> ---------------------------------------------
>
>                 Key: HTTPCLIENT-2130
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2130
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient (classic)
>    Affects Versions: 5.0.3
>            Reporter: Gili
>            Priority: Major
>
> JAX-RS's UriBuilder provides a mechanism to incrementally build up the path 
> of a URI.
> HttpComponent's URIBuilder provides setPath() but it cannot be used to 
> fluently append to the path because one has to getPath() in order to append.
> Instead of:
> {code:java}
> uriBuilder.doSomething();
> String path1 = uriBuilder.getPath();
> temp.setPath(path1 + path2);{code}
> We should be able to invoke:
> {code:java}
> uriBuilder.doSomething().appendPath(path2);{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to