rabbit.filter
Class BodyFilter

java.lang.Object
  extended byrabbit.filter.HTMLFilter
      extended byrabbit.filter.BodyFilter

public class BodyFilter
extends HTMLFilter

A class that inserts some text and links at the top of a page. Useful for inserting links to unfiltered page.


Constructor Summary
BodyFilter(HTTPHeader request, HTTPHeader response)
          Create a new BodyFilter for the given request, response pair.
 
Method Summary
 void filterHTML(HTMLBlock block)
          Insert some text at the top of the html page.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyFilter

public BodyFilter(HTTPHeader request,
                  HTTPHeader response)
Create a new BodyFilter for the given request, response pair.

Parameters:
request - the actual request made.
response - the actual response being sent.
Method Detail

filterHTML

public void filterHTML(HTMLBlock block)
Insert some text at the top of the html page.

Specified by:
filterHTML in class HTMLFilter
Parameters:
block - the part of the html page we are filtering.