- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor
public class ContentOnlyViewInterceptor
extends Object
implements com.opensymphony.xwork.interceptor.Interceptor
A interceptor that is applied to /content-only/ xwork routes.
The purpose of this interceptor is to set a flag in the request context so that existing actions
can easily identify if they are to be rendered as content-only (being no header/footer/sidebar, etc)
This view mode also disables the Content-Security-Policy response header for compatibility with new web component
fallback modes (and the need to communicate with the parent frame).