@Intercepts(after={}) public class ResourceLookupInterceptor extends java.lang.Object implements Interceptor
| Constructor and Description |
|---|
ResourceLookupInterceptor(UrlToResourceTranslator translator,
MethodInfo methodInfo,
ResourceNotFoundHandler resourceNotFoundHandler,
MethodNotAllowedHandler methodNotAllowedHandler,
RequestInfo requestInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ResourceMethod method) |
void |
intercept(InterceptorStack stack,
ResourceMethod ignorableMethod,
java.lang.Object resourceInstance) |
public ResourceLookupInterceptor(UrlToResourceTranslator translator, MethodInfo methodInfo, ResourceNotFoundHandler resourceNotFoundHandler, MethodNotAllowedHandler methodNotAllowedHandler, RequestInfo requestInfo)
public void intercept(InterceptorStack stack, ResourceMethod ignorableMethod, java.lang.Object resourceInstance) throws InterceptionException
intercept in interface InterceptorInterceptionExceptionpublic boolean accepts(ResourceMethod method)
accepts in interface InterceptorCopyright © 2013 Caelum. All Rights Reserved.