[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413545#comment-17413545
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-2175:
-----------------------------------------------

[~nathanila] There are already methods `#appendPathSegments` in the 5.x line.

Oleg

> URIBuilder.addPathSegment()
> ---------------------------
>
>                 Key: HTTPCLIENT-2175
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2175
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Nathan Reynolds
>            Priority: Trivial
>
> Please add another method to URIBuilder called addPathSegment() with the 
> following signature and implementation.
> {{public void addPathSegment(String segment) {   
> this.pathSegments.add(segment);}}
> {{}}}
> Of course, this means making pathSegments mutable within the class.
> This new method will make appending new segments very easy.  It will also 
> improve the performance since fewer copies of ArrayList will be needed by the 
> caller.



--
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