Request flow of portlet filters | HCL Digital Experience
On server startup, all portlet filters that are registered in the PortletFilterService are initialized and are made available for filter registration. After that, the portlet filters go through a sequence of processing steps.
- When a portlet is dispatched, the portlet container gets the required filters from the filter registration and calls these filters successively in the specified order.
- Before the portlet is rendered, the portlet request and portlet response is forwarded through this chain of portlet filters.
- Afterwards, the portlet container passes the request and response back through the chain of filters in the reverse order.