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

cda commented on HTTPCLIENT-2025:
---------------------------------

If you rejected this issue, you should make *UriComponentsBuilder* friendly for 
extension to implement my custom logic in my extension class. 
Currently the class allows extension, but all fields are private without any 
getters and setters, preventing adding custom logic.

> URIBuilder clone
> ----------------
>
>                 Key: HTTPCLIENT-2025
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2025
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>    Affects Versions: 4.5.10
>            Reporter: cda
>            Priority: Minor
>
> Please provide a method to clone an *URIBuilder* instance using *Cloneable* 
> interface or a copy constructor.
> *Use case*: need to modify and return a new instance without altering current 
> instance. Currently, I have to use *new URIBuilder(uriBuilder.toString())* 
> which is relative expensive compared to cloning fields.
> + need to implement *equals* and *hashCode*
>  



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