Gili created HTTPCLIENT-2130:
--------------------------------
Summary: 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)
Reporter: Gili
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]