|
||||||||||
| 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.spray.filter.DefaultFilter
org.norther.tammi.spray.media.DefaultCGIBinFilter
public class DefaultCGIBinFilter
A default implementation of CGIBinFilter.
Note that this implementation removes the application filter key and value from the path info if present.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.base.Adaptee |
|---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
| Fields inherited from interface org.norther.tammi.spray.media.CGIBinFilter |
|---|
DEFAULT_INDEX |
| Constructor Summary | |
|---|---|
DefaultCGIBinFilter()
Constructs a new filter. |
|
| Method Summary | |
|---|---|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
String |
getContentKey()
Gets the path finder key for resolving content paths. |
String |
getDefaultIndex()
Gets the default index file of the filter. |
String |
getProgramKey()
Gets the path finder key for resolving program paths. |
void |
setContentKey(String key)
Sets the path finder key for resolving content paths. |
void |
setDefaultIndex(String index)
Sets the default index file of the filter. |
void |
setProgramKey(String key)
Sets the path finder key for resolving program paths. |
| Methods inherited from class org.norther.tammi.spray.filter.DefaultFilter |
|---|
destroy, getFilterConfig, getRequestMap, getSessionMap, init |
| 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 javax.servlet.Filter |
|---|
destroy, init |
| Constructor Detail |
|---|
public DefaultCGIBinFilter()
| Method Detail |
|---|
public String getDefaultIndex()
CGIBinFilter
getDefaultIndex in interface CGIBinFilterpublic void setDefaultIndex(String index)
CGIBinFilter
setDefaultIndex in interface CGIBinFilterindex - a default index file.public String getProgramKey()
CGIBinFilter
getProgramKey in interface CGIBinFilterpublic void setProgramKey(String key)
CGIBinFilter
setProgramKey in interface CGIBinFilterkey - the path finder key.public String getContentKey()
CGIBinFilter
getContentKey in interface CGIBinFilterpublic void setContentKey(String key)
CGIBinFilter
setContentKey in interface CGIBinFilterkey - the path finder key.
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws ServletException,
IOException
doFilter in interface FilterdoFilter in class DefaultFilterServletException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||