Nathan Reynolds created HTTPCLIENT-2175:
-------------------------------------------

             Summary: URIBuilder.addPathSegment()
                 Key: HTTPCLIENT-2175
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2175
             Project: HttpComponents HttpClient
          Issue Type: Improvement
            Reporter: Nathan Reynolds


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