Class FormPageTrackingInterceptor

  • All Implemented Interfaces:
    org.apache.click.PageInterceptor

    public class FormPageTrackingInterceptor
    extends Object
    implements org.apache.click.PageInterceptor
    Provides a form page tracking Click interceptor which will add form page tracking content to the page model if the page is annotated with the FormPageTracking and the form has a page tracking configured.
    • Constructor Detail

      • FormPageTrackingInterceptor

        public FormPageTrackingInterceptor()
    • Method Detail

      • preCreate

        public boolean preCreate​(Class<? extends org.apache.click.Page> pageClass,
                                 org.apache.click.Context context)
        Performs additional work when a page is being created. This implementation does nothing.
        Specified by:
        preCreate in interface org.apache.click.PageInterceptor
        Parameters:
        pageClass - the class of the page to be instantiated
        context - the page request context
        Returns:
        true
        See Also:
        PageInterceptor.preCreate(Class, Context)
      • postCreate

        public boolean postCreate​(org.apache.click.Page page)
        Performs additional work after a page has been created. This implementation does nothing.
        Specified by:
        postCreate in interface org.apache.click.PageInterceptor
        Parameters:
        page - the newly instantiated page instance
        Returns:
        true
        See Also:
        PageInterceptor.postCreate(Page)
      • preResponse

        public boolean preResponse​(org.apache.click.Page page)
        Performs additional work before page response processing. This implementation injects additional tracking content into the page model.
        Specified by:
        preResponse in interface org.apache.click.PageInterceptor
        Parameters:
        page - the newly instantiated page instance
        Returns:
        true to continue normal page processing or false whereby the request is considered to be handled
        See Also:
        PageInterceptor.preResponse(Page)
      • postDestroy

        public void postDestroy​(org.apache.click.Page page)
        Perrforms additional work after a page has been destroyed. This implementation does nothing.
        Specified by:
        postDestroy in interface org.apache.click.PageInterceptor
        Parameters:
        page - the page object which has just been destroyed
        See Also:
        PageInterceptor.postDestroy(Page)