com.basecmp.core.servlets
Class TransformingFilter

java.lang.Object
  extended bycom.basecmp.core.servlets.TransformingFilter

public class TransformingFilter
extends java.lang.Object

ServletFilter trims all occurences of trailing whitespace and blanklines. Leaves always one blankline untouched. Created on 14.05.2006

Author:
Wolfgang Schröder

Nested Class Summary
 class TransformingFilter.GeneratingTimeReplacement
           
 
Field Summary
static java.lang.String CONFIG_PARAM_EXCLUDE_PATH_PATTERN
           
 
Constructor Summary
TransformingFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_PARAM_EXCLUDE_PATH_PATTERN

public static final java.lang.String CONFIG_PARAM_EXCLUDE_PATH_PATTERN
See Also:
Constant Field Values
Constructor Detail

TransformingFilter

public TransformingFilter()
Method Detail

destroy

public void destroy()

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws java.io.IOException,
                     ServletException
Throws:
java.io.IOException
ServletException

init

public void init(FilterConfig config)
          throws ServletException
Throws:
ServletException


Copyright © 2004 by basecmp® - Professional Web Solutions