can we get a UriBuilder.addOrReplaceSegment method?

From: geoffrey hendrey <>
Date: Tue, 2 Feb 2010 22:46:09 -0800


I posted along these lines a while back, but I continue to run into cases
where I need to make modifications to a URI, and there doesn't seem to be an
easy way to do it.
For instance, if my resource has URI .../color/red/width/10/height/5, I find
myself needing to redirect the client after an "edit" operation to

What I really want is

Can you please consider this feature, or help me understand why I don't need


-- - RESTful Relational Database