org.jboss.resteasy.core.interception
Interface ResourceMethodInterceptor

All Known Implementing Classes:
ResourceMethodCacheControlInterceptor, ResourceMethodSecurityInterceptor

public interface ResourceMethodInterceptor

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 boolean accepted(ResourceMethod method)
          Whether or not this ResourceMethod should be intercepted.
 Response invoke(ResourceMethodContext ctx)
           
 

Method Detail

accepted

boolean accepted(ResourceMethod method)
Whether or not this ResourceMethod should be intercepted. This is called at deployment time when setting up interceptor chains.

Parameters:
method -
Returns:

invoke

Response invoke(ResourceMethodContext ctx)
                throws Failure,
                       ApplicationException,
                       WebApplicationException
Throws:
Failure
ApplicationException
WebApplicationException


Copyright © 2009. All Rights Reserved.