public class WebEngineFilter extends Object implements javax.servlet.Filter
Modifier and Type | Class and Description |
---|---|
protected static class |
WebEngineFilter.Config |
Modifier and Type | Field and Description |
---|---|
protected WebEngine |
engine |
protected boolean |
isAutoTxEnabled |
protected boolean |
isStatefull |
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
WebEngineFilter() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(WebEngineFilter.Config config,
AbstractWebContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
closeTx(WebEngineFilter.Config config,
javax.servlet.http.HttpServletRequest req) |
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected void |
initIfNeeded() |
AbstractWebContext |
initRequest(WebEngineFilter.Config config,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
initTx(WebEngineFilter.Config config,
javax.servlet.http.HttpServletRequest req) |
void |
postRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
preRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean isAutoTxEnabled
protected boolean isStatefull
protected static org.apache.commons.logging.Log log
public WebEngineFilter()
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
protected void initIfNeeded()
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void preRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void postRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public AbstractWebContext initRequest(WebEngineFilter.Config config, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void cleanup(WebEngineFilter.Config config, AbstractWebContext ctx, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void initTx(WebEngineFilter.Config config, javax.servlet.http.HttpServletRequest req)
public void closeTx(WebEngineFilter.Config config, javax.servlet.http.HttpServletRequest req)
Copyright © 2015 Nuxeo SA. All rights reserved.