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

Method Summary
 void destroy(WebContext webContext)
           
 void init(WebContext webContext)
           
 void postHandle(boolean handled, RequestContext requestContext)
           
 boolean preHandle(RequestContext requestContext)
           
 

Method Detail

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.