org.efaps.ui.filter
Class TransactionFilter
java.lang.Object
org.efaps.ui.filter.AbstractFilter
org.efaps.ui.filter.TransactionFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class TransactionFilter
- extends AbstractFilter
- Version:
- $Id: TransactionFilter.java 4577 2010-05-26 04:23:59Z jan.moxter $
- Author:
- The eFaps Team
|
Field Summary |
static java.lang.String |
SESSIONPARAM_LOGIN_FORWARD
Name of the session variable for the login forward (after the login is
done this is the next page). |
|
Method Summary |
protected void |
doFilter(javax.servlet.http.HttpServletRequest _request,
javax.servlet.http.HttpServletResponse _response,
javax.servlet.FilterChain _chain)
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getContextSessionAttributes(javax.servlet.http.HttpServletRequest _request)
|
void |
init(javax.servlet.FilterConfig _filterConfig)
Called by the web container to indicate to a filter that it is being
placed into service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSIONPARAM_LOGIN_FORWARD
public static final java.lang.String SESSIONPARAM_LOGIN_FORWARD
- Name of the session variable for the login forward (after the login is
done this is the next page).
- See Also:
- Constant Field Values
TransactionFilter
public TransactionFilter()
init
public void init(javax.servlet.FilterConfig _filterConfig)
throws javax.servlet.ServletException
- Called by the web container to indicate to a filter that it is being
placed into service. The servlet container calls the init method exactly
once after instantiating the filter. The init method must complete
successfully before the filter is asked to do any filtering work. The web
container cannot place the filter into service if the init method either
- Throws a ServletException
- Does not return within a time period defined by the web container
- Specified by:
init in interface javax.servlet.Filter- Overrides:
init in class AbstractFilter
- Parameters:
_filterConfig - filterconfig
- Throws:
javax.servlet.ServletException - on error- See Also:
#INIT_PARAM_TITLE,
#title,
#INIT_PARAM_APPLICATION,
#loginhandler
doFilter
protected void doFilter(javax.servlet.http.HttpServletRequest _request,
javax.servlet.http.HttpServletResponse _response,
javax.servlet.FilterChain _chain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter in class AbstractFilter
- Parameters:
_request - servlet request_response - servlet response_chain - filter chain
- Throws:
java.io.IOException - on error
javax.servlet.ServletException - on error
getContextSessionAttributes
protected java.util.Map<java.lang.String,java.lang.Object> getContextSessionAttributes(javax.servlet.http.HttpServletRequest _request)
- Parameters:
_request - http servlet request
- Returns:
- map of session attributes used for the context object
Copyright © 2003-2010 The eFaps Team. All Rights Reserved.