|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.session.HashFilter
Filters hash values from the URL in the request. A hash value in an URL is defined
by the following regular expression: \.[0-9a-f]{32}\. . It consists of
32 hex digits beginning and ending with a dot. It is inserted into the URL by the
boot runtime to avoid problems with proxies probably caching wrong versions of the requested
file.
| Constructor Summary | |
HashFilter()
|
|
| Method Summary | |
void |
destroy()
Called by Servlet 2.3 complient web containers to indicate to a filter that it is being taken out of service. |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. |
java.lang.String |
filterHash(java.lang.String name)
Filters hash values from the given string. |
javax.servlet.FilterConfig |
getFilterConfig()
Part of Filter Interface contained in weblogic 6.1 |
void |
init(javax.servlet.FilterConfig config)
Called by Servlet 2.3 complient web containers to indicate to a filter that it is being placed into service. |
void |
setFilterConfig(javax.servlet.FilterConfig config)
Called by weblogic 6.1 instead of init(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HashFilter()
| Method Detail |
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.ServletExceptionpublic javax.servlet.FilterConfig getFilterConfig()
public void setFilterConfig(javax.servlet.FilterConfig config)
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Filterpublic java.lang.String filterHash(java.lang.String name)
\.[0-9a-f]{32}\. . It consists of
32 hex digits beginning and ending with a dot.
name - the url or part of an url to filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||