On Mon, Jul 28, 2008 at 4:40 PM, Brian Eaton <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 28, 2008 at 1:54 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
> > How about HttpResponseBuilder? I'd much rather have:
> >
> > HttpResponse response = new HttpResponseBuilder()
> > .setStatus(HttpResponse.SC_OK)
> > .setBody("foo")
> > .setContentType("text/plain")
> > .setCacheControl("public", 3600)
> > .create();
> >
> > than what we have today.
>
> Yes! This would be perfect.
>
> I'm not going to run off and write all of this code right now, though.
If nobody else does it, I'm sure I will. :)