public class WikiFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.ThreadLocal<WebClient> |
WIKI_CLIENT
client
|
static java.lang.ThreadLocal<WikiContext> |
WIKI_CONTEXT
wiki context
|
static java.lang.ThreadLocal<WikiEngine> |
WIKI_ENGINE
engine
|
Constructor and Description |
---|
WikiFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
gzip static content
|
void |
init(FilterConfig filterConfig) |
public static final java.lang.ThreadLocal<WebClient> WIKI_CLIENT
public static final java.lang.ThreadLocal<WikiEngine> WIKI_ENGINE
public static final java.lang.ThreadLocal<WikiContext> WIKI_CONTEXT
public final void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException
request
- the requestresponse
- the response.chain
- The filter chain we are processingjava.io.IOException
- if an input/output error occursServletException
- if a servlet error occurspublic void init(FilterConfig filterConfig) throws ServletException
filterConfig
- the configurationServletException
- a problempublic void destroy()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.