com.dyuproject.web.rest
Interface Interceptor
- All Known Implementing Classes:
- AbstractInterceptor, DigestAuthInterceptor, EntityManagerManager, InterceptorCollection, LoginInterceptor, SimpleInterceptor, SimpleInterceptorWC1, SimpleInterceptorWC2, WrapperInterceptor
public interface Interceptor
Pre-handling and post-handling of REST requests allowing the request to continue or not.
Security handling is decoupled/contained.
- Author:
- David Yu
init
void init(WebContext webContext)
destroy
void destroy(WebContext webContext)
preHandle
boolean preHandle(RequestContext requestContext)
throws ServletException,
IOException
- Throws:
ServletException
IOException
postHandle
void postHandle(boolean handled,
RequestContext requestContext)
Copyright © 2013. All Rights Reserved.