Interface URIInterceptor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void request​(java.lang.String uri)
      Called when the current user requests to load the page of the specified URI.
    • Method Detail

      • request

        void request​(java.lang.String uri)
              throws java.lang.Exception
        Called when the current user requests to load the page of the specified URI.

        To deny the access, the class shall throw an exception. If you want to redirect to another page, you can configure it with <error-page> by specifying the corresponding page and exception in WEB-INF/zk.xml.

        Throws:
        java.lang.Exception