@RequestScoped public class ResourceControllerInterceptor<T extends HypermediaResource> extends java.lang.Object implements Interceptor
| Constructor and Description |
|---|
ResourceControllerInterceptor(ResourceControl<T> control,
Restfulie restfulie,
Status status,
RequestInfo info,
Routes routes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ResourceMethod method) |
void |
intercept(InterceptorStack stack,
ResourceMethod method,
java.lang.Object instance) |
public ResourceControllerInterceptor(ResourceControl<T> control, Restfulie restfulie, Status status, RequestInfo info, Routes routes)
public boolean accepts(ResourceMethod method)
accepts in interface Interceptorpublic void intercept(InterceptorStack stack, ResourceMethod method, java.lang.Object instance) throws InterceptionException
intercept in interface InterceptorInterceptionExceptionCopyright © 2013 Caelum. All Rights Reserved.