users@jersey.java.net

[Jersey] Re: HTTP 405

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Tue, 26 Apr 2011 16:39:05 +0200

Hello,

no, there is no such option. But if you really want/need this, you can
implement and register your ResponseFilter, which would do exactly this,
see
http://jersey.java.net/nonav/apidocs/1.6/jersey/com/sun/jersey/spi/container/ContainerResponseFilter.html

Regards,
Pavel

On 4/26/11 1:54 AM, Arthur Yeo wrote:
> All,
>
> When the appl hits a http 405 error, I do not see anything in the GF
> log at these levels:
>
> 1. INFO
> 2. Servere
> 3. Warning
>
> It only appears at the FINE level and there are 2-3 pages are info to
> sift thru.
>
> Is there a way to configure Jersey to log a 405 error (and for that
> matter any other types of errors) before I redirect the user to my std
> page?
>
> --
> Arthur Y.