java.lang.Object
com.aoapps.servlet.filter.TrimFilter
- All Implemented Interfaces:
 Filter
Filters the output and removes extra white space at the beginning of lines and completely removes blank lines.
 TEXTAREAs are automatically detected as long as they start with exact "<textarea" and end with exactly "</textarea" (case insensitive).
 PREs are automatically detected as long as they start with exact "<pre" and end with exactly "</pre" (case insensitive).
 The reason for the specific tag format is to simplify the implementation
 for maximum performance.
- Author:
 - AO Industries, Inc.
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidinit(FilterConfig config)  
- 
Constructor Details
- 
TrimFilter
public TrimFilter() 
 - 
 - 
Method Details
- 
init
 - 
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
 doFilterin interfaceFilter- Throws:
 IOExceptionServletException
 - 
destroy
public void destroy() 
 - 
 
