@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 Interceptor
InterceptionException
public boolean accepts(ResourceMethod method)
accepts
in interface Interceptor
Copyright © 2013 Caelum. All Rights Reserved.