|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.filter.PageFilter
Page filter supports URLs of the form /[blojsom context]/[blojsom servlet mapping]/[blog ID]/[page name]/page/
. For example,
/blojsom/blog/default/about/page/
would try and pull the about.vm
template from the default
blog's
templates
directory.
PageFilter org.blojsom.filter.PageFilter use-root-blog-compatability false PageFilter
Nested Class Summary | |
class |
PageFilter.PagePermalinkRequst
Page request |
Constructor Summary | |
PageFilter()
Construct a new instance of the Feed filter |
Method Summary | |
void |
destroy()
Remove the filter from service |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Process the request. |
void |
init(javax.servlet.FilterConfig filterConfig)
Initialize the filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PageFilter()
Method Detail |
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
filterConfig
- FilterConfig
javax.servlet.ServletException
- If there is an error initializing the filterpublic 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.Filter
request
- ServletRequest
response
- ServletResponse
chain
- FilterChain
to execute
java.io.IOException
- If there is an error executing the filter
javax.servlet.ServletException
- If there is an error executing the filter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |