impostor
Interface ContentFilter

All Known Implementing Classes:
EmptyManager, SimpleContentFilter

public interface ContentFilter

This interface defines the methods that a class must implement in order to provide the functionality of looking for, and removing, sensitive material from HTTP headers and HTML pages sent from websites back to the user's browser.


Method Summary
 java.lang.String filterHTTPHeaders(java.lang.String headers)
          The Impostor daemon calls this method in order to remove sensitive information from HTTP headers sent from websites to the user's browser.
 java.lang.String filterWebPageLine(java.lang.String currentLine)
          The Impostor daemon calls this method in order to remove sensitive information from HTML pages sent from websites to the user's browser.
 

Method Detail

filterHTTPHeaders

public java.lang.String filterHTTPHeaders(java.lang.String headers)
The Impostor daemon calls this method in order to remove sensitive information from HTTP headers sent from websites to the user's browser.


filterWebPageLine

public java.lang.String filterWebPageLine(java.lang.String currentLine)
The Impostor daemon calls this method in order to remove sensitive information from HTML pages sent from websites to the user's browser. The method is called on a line-by-line basis.