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

Method Summary
 void postHandle(boolean handled, RequestContext requestContext)
           
 boolean preHandle(RequestContext requestContext)
           
 
Methods inherited from interface com.dyuproject.web.rest.LifeCycle
destroy, init
 

Method Detail

preHandle

boolean preHandle(RequestContext requestContext)
                  throws ServletException,
                         IOException
Throws:
ServletException
IOException

postHandle

void postHandle(boolean handled,
                RequestContext requestContext)


Copyright © 2008-2013. All Rights Reserved.