I've created a HTML5 presentation recently on filtering related re-directions of WSO2 Stratos. If you are interested you can see it here. (Chromium web browser is preferred.)
All these filters are JSP filters, which capture a certain URL pattern and direct it to another URL. You can learn more about JSP filters from here.