com.liferay.portal.servlet.filters.velocity
Class VelocityFilter

java.lang.Object
  extended bycom.liferay.portal.servlet.filters.velocity.VelocityFilter
All Implemented Interfaces:
javax.servlet.Filter

public class VelocityFilter
extends java.lang.Object
implements javax.servlet.Filter

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String ENCODING
           
static boolean USE_FILTER
           
 
Constructor Summary
VelocityFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig config)
           
protected  boolean isMatchingURL(java.lang.String completeURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_FILTER

public static final boolean USE_FILTER

ENCODING

public static final java.lang.String ENCODING
Constructor Detail

VelocityFilter

public VelocityFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig config)
Specified by:
init in interface javax.servlet.Filter

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter

isMatchingURL

protected boolean isMatchingURL(java.lang.String completeURL)