sunlabs.brazil.filter
public class ReFilter extends Object implements Filter
Note: The regular expression processing should be consolodated with the RePollHandler, and the tag_extract... processing.
The following server properties are used:
Version: 2.4
Method Summary | |
---|---|
byte[] | filter(Request request, MimeHeaders headers, byte[] content)
If the content matches the regular expression, do the substitution.
|
boolean | init(Server server, String prefix) |
boolean | respond(Request request)
This is the request object before the content was fetched |
boolean | shouldFilter(Request request, MimeHeaders headers)
Only filter text documents |