What is filter
J2EE Interview Questions and Answers (Part 1)
(Continued from previous question...)
98. What is filter
An object that can transform the header or content (or both) of a request or response. Filters differ from Web components in
that they usually do not themselves create responses but rather modify or adapt the requests for a resource, and modify or
adapt responses from a resource. A filter should not have any dependencies on a Web resource for which it is acting as a
filter so that it can be composable with more than one type of Web resource.
(Continued on next question...)
Other Interview Questions
|