users@jersey.java.net

Configuring request/response filters with annotations in JEE6

From: Kevin Duffey <andjarnic_at_yahoo.com>
Date: Mon, 25 Jan 2010 22:20:59 -0800 (PST)

Hey all,

I am unable to see my list of emails right now, so if this has been asked I apologize and please refer me to the thread link.

I am using GF3 with Jersey, loving the heck out of it. I configure Jersey with:

@ApplicationPath("")
public class RestConfigApplication extends Application {
}


Works great. What I am lacking now tho is how to configure the request filters I had for version checks and authentication. As well, if this is possible to do with annotations, can response filters be handled in the same manner.

Thanks.