Pavel Bucek-2 wrote
>
> Hello Gili,
>
> you can use ContainerResposeFilter for that. The issue filled against
> JAX-RS is about having this possibility in spec itself, JAX-RS 1.0
> doesn't have any specified filtering mechanism (this area will be
> covered in JAX-RS 2.x).. so ContainerResponseFilter will work only with
> Jersey.
>
> see
> http://jersey.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/spi/container/ContainerResponseFilter.html >
> Regards,
> Pavel
>
> On 12/5/11 4:30 PM, Gili wrote:
>> Hi,
>>
>> Following up on http://java.net/jira/browse/JAX_RS_SPEC-21 is there a way
>> for me to generate the default response for a @HEAD and extend it by
>> adding
>> some headers? Is there a Jersey-specific API for this sort of thing or
>> are
>> we still waiting on an updated specification?
>>
>> Thanks,
>> Gili
>>
>> --
>> View this message in context:
>> http://jersey.576304.n2.nabble.com/Extending-the-default-Response-tp7063256p7063256.html >> Sent from the Jersey mailing list archive at Nabble.com.
>>
>