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

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.BaseFilter
      extended by com.liferay.portal.servlet.filters.velocity.VelocityFilter
All Implemented Interfaces:
javax.servlet.Filter

public class VelocityFilter
extends com.liferay.portal.kernel.servlet.BaseFilter

View Source

Author:
Brian Wing Shun Chan, Raymond Aug�

Field Summary
static java.lang.String ENCODING
           
static boolean USE_FILTER
           
 
Constructor Summary
VelocityFilter()
           
 
Method Summary
 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 com.liferay.portal.kernel.servlet.BaseFilter
destroy, doFilter, getFilterConfig
 
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)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class com.liferay.portal.kernel.servlet.BaseFilter
Throws:
javax.servlet.ServletException

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
Specified by:
doFilter in class com.liferay.portal.kernel.servlet.BaseFilter
Throws:
java.io.IOException
javax.servlet.ServletException

isMatchingURL

protected boolean isMatchingURL(java.lang.String completeURL)