org.apache.catalina.ssi

Class SSIFilter

public class SSIFilter extends Object implements Filter

Filter to process SSI requests within a webpage. Mapped to a content types from within web.xml.

Version: $Revision: 531303 $, $Date: 2007-04-23 02:24:01 +0200 (Mon, 23 Apr 2007) $

Author: David Becker

See Also: SSIServlet

Field Summary
protected FilterConfigconfig
protected PatterncontentTypeRegEx
regex pattern to match when evaluating content types
protected intdebug
Debug level for this servlet.
protected Longexpires
Expiration time in seconds for the doc.
protected booleanisVirtualWebappRelative
virtual path can be webapp-relative
protected PatternshtmlRegEx
default pattern for ssi filter content type matching
Method Summary
voiddestroy()
voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain)
voidinit(FilterConfig config)
Initialize this servlet.

Field Detail

config

protected FilterConfig config

contentTypeRegEx

protected Pattern contentTypeRegEx
regex pattern to match when evaluating content types

debug

protected int debug
Debug level for this servlet.

expires

protected Long expires
Expiration time in seconds for the doc.

isVirtualWebappRelative

protected boolean isVirtualWebappRelative
virtual path can be webapp-relative

shtmlRegEx

protected Pattern shtmlRegEx
default pattern for ssi filter content type matching

Method Detail

destroy

public void destroy()

doFilter

public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)

init

public void init(FilterConfig config)
Initialize this servlet.

Throws: ServletException if an error occurs

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.