Magnolia 4.5 reached end of life on June 30, 2016. This branch is no longer supported, see End-of-life policy.
Magnolia uses the Java filter concept. A filter captures and processes a request before it reaches a servlet. Filters provide universal functions such as format the data sent back to the client.
Request processing and filter chain
Not all requests to the Magnolia filter chain come from users, or even from Magnolia. Independent servlets can also forward requests to the chain. Below are two examples of how to deal with a request, whether it comes from a client or an independent servlet
Integration: Responding to a request
Integration: Forwarding a request