|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sas.framework.expojo.servlet.ExpojoServletFilter
public class ExpojoServletFilter
A servlet filter that automatically implements dependency injection by calls to attachThread at the start of doFilter and detachThread after the filter chain/servlet has generated the response. Any servlet for which this filter is assigned can be guaranteed to have get:ModelExposer return a valid, session specific ModelExposer object.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_MODEL_EXPOSER
Name of the attribute used to store the ModelExposer in the session. |
| Constructor Summary | |
|---|---|
ExpojoServletFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Does nothing. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Call filter to performing filter operations and hand on request to the next filter in the chain. |
void |
init(FilterConfig filterConfig)
Does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final transient java.lang.String ATTR_MODEL_EXPOSER
| Constructor Detail |
|---|
public ExpojoServletFilter()
| Method Detail |
|---|
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws java.io.IOException,
ServletException
java.io.IOException
ServletException
public void init(FilterConfig filterConfig)
throws ServletException
ServletExceptionpublic void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||