users@servlet-spec.java.net

[servlet-spec users] Re: PushBuilder

From: Paul Benedict <pbenedict_at_apache.org>
Date: Sat, 21 Nov 2015 06:57:02 -0600

On Nov 21, 2015 2:01 AM, "Edward Burns" <edward.burns_at_oracle.com> wrote:
with

> The class is named PushBuilder. Please help me understand your concern,
> I must be missing something.
>
> Thanks,
>
> Ed
>
> --

Ed, thank you for responding. Actually it was I who was missing something
in my explanation. I went back and read it, and saw I missed the final
point I wanted to make. My apologies.

When I was taking abut UriBuilder, as an example of a builder, I neglected
to mention that it actually builds something: a URI instance. This is what
I expect builders to do; they are factories to produce a product. What does
a PushBuilder actually produce? If there was a concluding build() method
(and from memory I don't think there was), then I am completely on board
with how the methods have been designed.