What is the easiest way to modify the URI of an HttpRequest?

I'm about to write code like this:
HttpRequest newReq = new BasicHttpRequest(// fill in with method, new uri,
and protocol version);
// copy all headers
// copy entity body

This seems like a lot of work when I all I really want is a .setUri()
method.

Ideas?

Bill-

Reply via email to