|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.webSvr.util.PluginFilter
public final class PluginFilter
Filter to dynamically load and wrap a pluggable filter. This enables filters to be loaded entirely at runtime.
The param pluginClassName is used to give the class name of a Filter class to load and pass filter calls on to. If this class cannot be found or loaded, or is not specified, this PluginFilter performs no transformations at all.
| Field Summary | |
|---|---|
private javax.servlet.FilterConfig |
config
The filter configuration object we are associated with. |
private javax.servlet.Filter |
plugin
Our plug-in class; or null if none loaded. |
private java.lang.String |
pluginClassName
Config parameter; name of flag to record overload, or null if none chosen. |
| Constructor Summary | |
|---|---|
PluginFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Take this filter out of service. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Called to handle each request. |
void |
init(javax.servlet.FilterConfig filterConfig)
Place this filter into service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private javax.servlet.FilterConfig config
private java.lang.String pluginClassName
private javax.servlet.Filter plugin
| Constructor Detail |
|---|
public PluginFilter()
| Method Detail |
|---|
public void init(javax.servlet.FilterConfig filterConfig)
init in interface javax.servlet.FilterfilterConfig - the filter configuration objectpublic void destroy()
destroy in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterjava.io.IOException
javax.servlet.ServletException
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||