com.dyuproject.web.rest
Class AbstractInterceptor

java.lang.Object
  extended by com.dyuproject.web.rest.AbstractInterceptor
All Implemented Interfaces:
Interceptor
Direct Known Subclasses:
DigestAuthInterceptor, EntityManagerManager, InterceptorCollection, WrapperInterceptor

public abstract class AbstractInterceptor
extends Object
implements Interceptor

Base interceptor to pre-handle and post-handle requests

Author:
David Yu

Constructor Summary
AbstractInterceptor()
           
 
Method Summary
protected  void destroy()
           
 void destroy(WebContext webContext)
           
 WebContext getWebContext()
           
protected abstract  void init()
           
 void init(WebContext webContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dyuproject.web.rest.Interceptor
postHandle, preHandle
 

Constructor Detail

AbstractInterceptor

public AbstractInterceptor()
Method Detail

init

public final void init(WebContext webContext)
Specified by:
init in interface Interceptor

destroy

public final void destroy(WebContext webContext)
Specified by:
destroy in interface Interceptor

init

protected abstract void init()

destroy

protected void destroy()

getWebContext

public WebContext getWebContext()


Copyright © 2013. All Rights Reserved.