public class SSIFilter
extends java.lang.Object
SSIServlet
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowExec
Allow exec (normally blocked for security)
|
protected FilterConfig |
config |
protected java.util.regex.Pattern |
contentTypeRegEx
regex pattern to match when evaluating content types
|
protected int |
debug
Debug level for this servlet.
|
protected java.lang.Long |
expires
Expiration time in seconds for the doc.
|
protected boolean |
isVirtualWebappRelative
virtual path can be webapp-relative
|
protected java.util.regex.Pattern |
shtmlRegEx
default pattern for ssi filter content type matching
|
Constructor and Description |
---|
SSIFilter() |
protected FilterConfig config
protected int debug
protected java.lang.Long expires
protected boolean isVirtualWebappRelative
protected java.util.regex.Pattern contentTypeRegEx
protected java.util.regex.Pattern shtmlRegEx
protected boolean allowExec
public void init(FilterConfig config) throws ServletException
ServletException
- if an error occurspublic void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void destroy()