RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

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

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

Method Detail

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

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.