0 Replies Latest reply on Apr 15, 2010 6:04 PM by Eric Nelson

    Can't find good example for RESTEasy interceptors

    Eric Nelson Newbie

      Hi all.  I'm trying to implement a PreProcessorInterceptor in RESTEasy, and for the most part it's fairly straight forward.  But what's driving me crazy is that I can't seem to find out how to continue the invocation chain.  So it seems like you're supposed to call method.invoke() to continue the processing of the request and then return the ServerResponse.  But the invoke() method takes both a HTTPRequest and HTTPResponse object.  But only the HTTPRequest object is passed into the interceptor.  Where does the response object come from?  Or am I just supposed to create a dummy response object to pass into the method.invoke() ?  Thanks so much for you help!