|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.base.Adaptee
org.norther.tammi.core.base.DefaultContainer
org.norther.tammi.spray.filter.AbstractContainerFilter
public abstract class AbstractContainerFilter
An abstract implementation of ContainerFilter.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.base.Adaptee |
|---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
| Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate |
|---|
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE |
| Constructor Summary | |
|---|---|
AbstractContainerFilter()
Constructs a new filter. |
|
AbstractContainerFilter(String className)
Constructs a new filter with a container class. |
|
| Method Summary | |
|---|---|
void |
destroy()
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
protected abstract Filter |
getFilter()
Gets the filter adaptee. |
FilterConfig |
getFilterConfig()
Gets the filter config of this filter. |
Map |
getRequestMap(ServletRequest request,
int capacity)
Gets a cached request map of this filter. |
ConcurrentMap |
getSessionMap(ServletRequest request,
int capacity)
Gets the cached session map of this filter. |
void |
init(FilterConfig config)
|
| Methods inherited from class org.norther.tammi.core.base.DefaultContainer |
|---|
clear, containsKey, get, getContainerKey, getContainerKey, getContainerKey, getMBean, getMBeanHandle, getMBeanHandles, getMBeanInterface, getMBeanInterface, getObjectName, getObjectNames, getQueryPattern, registryKeySet, registryKeySet, registryKeySet, registryKeySet, registryMap, registrySize, remove, setMBeanInterface, setQueryPattern, setQueryPattern |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
|---|
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.core.base.Container |
|---|
clear, containsKey, get, getContainerKey, getContainerKey, getContainerKey, getMBean, getMBeanInterface, getMBeanInterface, getObjectName, getObjectNames, getQueryPattern, registryKeySet, registryKeySet, registryKeySet, registryKeySet, registryMap, registrySize, remove, setMBeanInterface, setQueryPattern, setQueryPattern |
| Constructor Detail |
|---|
public AbstractContainerFilter()
public AbstractContainerFilter(String className)
className - the container class name.| Method Detail |
|---|
public void init(FilterConfig config)
throws ServletException
init in interface FilterServletExceptionpublic void destroy()
destroy in interface Filter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws ServletException,
IOException
doFilter in interface FilterServletException
IOExceptionpublic FilterConfig getFilterConfig()
public ConcurrentMap getSessionMap(ServletRequest request,
int capacity)
request - the request.capacity - creates a map of the specified capacity if >0.
public Map getRequestMap(ServletRequest request,
int capacity)
request - the request.capacity - creates a map of the specified capacity if >0.
protected abstract Filter getFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||