users@jersey.java.net

[Jersey] Re: How to reject all POST/PUT/DELETE requests

From: Igor Skornyakov <igor.skornyakov_at_gmail.com>
Date: Thu, 26 Jan 2012 18:09:51 +0400

For example you can use Guice interceptor.

On Thu, Jan 26, 2012 at 6:02 PM, Pengfei Di <pengfei.di_at_match2blue.com>wrote:

> Hello,
>
> Is there any way to configure jersey to a read-only mode? That means only
> GET requests are allowed, and all POST/PUT/DELETE requests will be rejected.
> Thanks for any hints.
>
> Pengfei
>
>