com.dyuproject.demos.helloworld
Class SimpleInterceptorWC1

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

public class SimpleInterceptorWC1
extends Object
implements Interceptor

Author:
David Yu

Constructor Summary
SimpleInterceptorWC1()
           
 
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

SimpleInterceptorWC1

public SimpleInterceptorWC1()
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.