It guarantees that a request instance is *ALWAYS* completely initialized in a sense that it has a URI and HTTP method
name set. I prefer separating those too to avoid the explosion of method overloads that would cover all the combination
of URI init parameters (String, URI, UriBuilder) and HTTP method names.
Marek
On 06/24/2011 06:15 PM, Bill Burke wrote:
> I still don't get the reasoning for HttpRequest.Builder. Since HttpRequest allows you to change the method anyways, why
> have a Builder? I just don't see what it buys you.