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.

Reply via email to