org.jboss.resteasy.spi.interception
Interface PreProcessInterceptor

All Known Implementing Classes:
SecurityInterceptor, ServerCacheHitInterceptor

public interface PreProcessInterceptor

Executed before resource method (not resource locator methods though!)

The interceptor can decide to return its own response. This will result in not invoking the resource method.

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 ServerResponse preProcess(HttpRequest request, ResourceMethod method)
          Preprocess resource method invocation
 

Method Detail

preProcess

ServerResponse preProcess(HttpRequest request,
                          ResourceMethod method)
                          throws Failure,
                                 WebApplicationException
Preprocess resource method invocation

Parameters:
request -
Returns:
null unless the interceptor is returning its own response
Throws:
Failure
WebApplicationException


Copyright © 2010. All Rights Reserved.