|
|||||||||
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. |
abstract HTMLFilter |
newFilter(Connection con,
HTTPHeader request,
HTTPHeader response)
Get a new HTMLFilter for the given request, response pair. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 HTMLFilter newFilter(Connection con, HTTPHeader request, HTTPHeader response)
newFilter
in interface HTMLFilterFactory
con
- the Connection handling the request.request
- the actual request made.response
- the actual response being sent.public abstract void filterHTML(HTMLBlock block)
block
- the part of the html page to filter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |