org.norther.tammi.spray.filter
Class DefaultFilter
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.spray.filter.DefaultFilter
- All Implemented Interfaces:
- Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Manageable, MBeanDelegate
- Direct Known Subclasses:
- AbstractAuthenticatorFilter, DefaultCGIBinFilter, DefaultChartFilter, DefaultClosingFilter, DefaultHttpFilter, DefaultHttpRelayFilter, DefaultIpMaskFilter, DefaultKeyFilter, DefaultPipe, DefaultReportFilter, DefaultSecuredFilter, DefaultSecureFilter
public class DefaultFilter
- extends Adaptee
- implements Filter
A default implementation of Filter.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| 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 |
DefaultFilter
public DefaultFilter()
- Constructs a new filter.
init
public void init(FilterConfig config)
throws ServletException
- Specified by:
init in interface Filter
- Throws:
ServletException
destroy
public void destroy()
- Specified by:
destroy in interface Filter
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws ServletException,
IOException
- Specified by:
doFilter in interface Filter
- Throws:
ServletException
IOException
getFilterConfig
public FilterConfig getFilterConfig()
- Gets the filter config of this filter.
- Returns:
- the filter config or null.
getSessionMap
public ConcurrentMap getSessionMap(ServletRequest request,
int capacity)
- Gets a cached session map of this filter.
- Parameters:
request - the request.capacity - creates a map of the specified capacity if >0.
- Returns:
- the session map or null.
getRequestMap
public Map getRequestMap(ServletRequest request,
int capacity)
- Gets a cached request map of this filter.
- Parameters:
request - the request.capacity - creates a map of the specified capacity if >0.
- Returns:
- the request map or null.
Copyright © 2004 The Norther Organization. All rights reserved.