com.dyuproject.web.rest
Interface Interceptor
- All Superinterfaces:
- LifeCycle
- All Known Implementing Classes:
- AbstractInterceptor, ConsumerInterceptor, EntityManagerManager, InterceptorCollection, WrapperInterceptor
public interface Interceptor
- extends LifeCycle
Pre-handling and post-handling of REST requests allowing the request to continue or not.
Security handling is decoupled/contained.
- Author:
- David Yu
- Date created:
- May 18, 2008
preHandle
boolean preHandle(RequestContext requestContext)
throws ServletException,
IOException
- Throws:
ServletException
IOException
postHandle
void postHandle(boolean handled,
RequestContext requestContext)
Copyright © 2008-2013. All Rights Reserved.