@Intercepts(after=ExecuteMethodInterceptor.class, before=ForwardToDefaultViewInterceptor.class) @RequestScoped @Lazy public class DownloadInterceptor extends java.lang.Object implements Interceptor
Constructor and Description |
---|
DownloadInterceptor(javax.servlet.http.HttpServletResponse response,
MethodInfo info,
Result result) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(ResourceMethod method) |
void |
intercept(InterceptorStack stack,
ResourceMethod method,
java.lang.Object instance) |
public DownloadInterceptor(javax.servlet.http.HttpServletResponse response, MethodInfo info, Result result)
public boolean accepts(ResourceMethod method)
accepts
in interface Interceptor
public void intercept(InterceptorStack stack, ResourceMethod method, java.lang.Object instance) throws InterceptionException
intercept
in interface Interceptor
InterceptionException
Copyright © 2013 Caelum. All Rights Reserved.