org.jboss.resteasy.spi.interception
Interface PreProcessInterceptor
- All Known Implementing Classes:
- SecurityInterceptor
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
preProcess
ServerResponse preProcess(HttpRequest request,
ResourceMethod method)
throws Failure,
javax.ws.rs.WebApplicationException
- Preprocess resource method invocation
- Parameters:
request
-
- Returns:
- null unless the interceptor is returning its own response
- Throws:
Failure
javax.ws.rs.WebApplicationException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.