org.blojsom.filter
Class FeedFilter

java.lang.Object
  extended byorg.blojsom.filter.FeedFilter
All Implemented Interfaces:
javax.servlet.Filter

public class FeedFilter
extends java.lang.Object
implements javax.servlet.Filter

FeedFilter

Since:
blojsom 2.29
Version:
$Id: FeedFilter.java,v 1.2 2006/01/25 18:19:53 czarneckid Exp $
Author:
David Czarnecki

Nested Class Summary
 class FeedFilter.FeedPermalinkRequst
          Feed request
 
Constructor Summary
FeedFilter()
          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

FeedFilter

public FeedFilter()
Construct a new instance of the Feed filter

Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Initialize the filter

Specified by:
init in interface javax.servlet.Filter
Parameters:
filterConfig - FilterConfig
Throws:
javax.servlet.ServletException - If there is an error initializing the filter

destroy

public void destroy()
Remove the filter from service

Specified by:
destroy in interface javax.servlet.Filter

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Process the request.

Processes requests of the form

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
request - ServletRequest
response - ServletResponse
chain - FilterChain to execute
Throws:
java.io.IOException - If there is an error executing the filter
javax.servlet.ServletException - If there is an error executing the filter