users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] ContainerRequestContext abortWith method name

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Tue, 5 Mar 2013 16:26:45 +0000

Hi

I wonder if it can make sense to rename somehow

ContainerRequestContext.abortWith(Response) method ?

It is not a big deal, but I'm finding myself thinking that in most cases
so far, when I write "abortWith" I actually mean a non-exceptional
response and "abortWith" reads as if it is some kind of error that
causes the filter to call this method...

May be "setResponse" ? Or something else...

Sergey