438 CHAPTER 11 ADVANCED FILTERING (Post office web site) TECHNIQUES wrapper

438 CHAPTER 11 ADVANCED FILTERING TECHNIQUES wrapper object) after the resource has completed processing the request. Figure 11-2 illustrates the interception. Figure 11-2. To allow upstream processing of a response, the standard response object is contained inside a response wrapper. In the VisAuditFilter example, you ll use your own custom OutputStream class (VisAuditOutputStream) and a wrapped response class (VisAuditResponseWrapper). The classes you ll use and their relationships are shown in Figure 11-3. Figure 11-3. This UML class diagram illustrates the classes in the VisAudit Filter example. Together, these classes will intercept the output of the web resource added to the auditing information footer. The interaction diagram in Figure 11-4 shows how this interception is carried out.
In case you need quality webspace to host and run your web applications, try our personal web hosting services.

Leave a Reply