com.dyuproject.demos.helloworld
Class SimpleInterceptorWC2

java.lang.Object
  extended by com.dyuproject.demos.helloworld.SimpleInterceptorWC2
All Implemented Interfaces:
Interceptor

public class SimpleInterceptorWC2
extends Object
implements Interceptor

Author:
David Yu

Constructor Summary
SimpleInterceptorWC2()
           
 
Method Summary
 void destroy(WebContext webContext)
           
 void init(WebContext webContext)
           
 void postHandle(boolean handled, RequestContext requestContext)
           
 boolean preHandle(RequestContext requestContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleInterceptorWC2

public SimpleInterceptorWC2()
Method Detail

init

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

destroy

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

preHandle

public boolean preHandle(RequestContext requestContext)
                  throws ServletException,
                         IOException
Specified by:
preHandle in interface Interceptor
Throws:
ServletException
IOException

postHandle

public void postHandle(boolean handled,
                       RequestContext requestContext)
Specified by:
postHandle in interface Interceptor


Copyright © 2013. All Rights Reserved.