|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.filter.HtmlFilter
public abstract class HtmlFilter
This class describes the functions neccessary to filter a block of html.
| Field Summary | |
|---|---|
protected Connection |
con
The Connection handling the request. |
protected HttpHeader |
request
The actual request made. |
protected HttpHeader |
response
The actual response. |
| Constructor Summary | |
|---|---|
HtmlFilter()
Create the factory. |
|
HtmlFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new HtmlFilter for the given request, response pair. |
|
| Method Summary | |
|---|---|
abstract void |
filterHtml(HtmlBlock block)
Filter a block of html. |
boolean |
isCacheable()
If the filter determines that the page is not cacheable it can negate this, and FilterHandler will not cache it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rabbit.filter.HtmlFilterFactory |
|---|
newFilter |
| Field Detail |
|---|
protected Connection con
protected HttpHeader request
protected HttpHeader response
| Constructor Detail |
|---|
public HtmlFilter()
public HtmlFilter(Connection con,
HttpHeader request,
HttpHeader response)
request - the actual request made.response - the actual response being sent.| Method Detail |
|---|
public abstract void filterHtml(HtmlBlock block)
block - the part of the html page to filter.public boolean isCacheable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||