Class ForwardInfo


  • public class ForwardInfo
    extends java.lang.Object
    The forward directive in the ZUML page.

    It is not serializable.

    Since:
    3.0.2
    Author:
    tomyeh
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getURI()
      Returns the URI to forward to.
      java.lang.String resolveURI​(PageDefinition pgdef, Page page)
      Evaluates and returns the URI, or null if not to forward.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ForwardInfo

        public ForwardInfo​(java.lang.String uri,
                           ConditionImpl cond)
    • Method Detail

      • getURI

        public java.lang.String getURI()
        Returns the URI to forward to.
      • resolveURI

        public java.lang.String resolveURI​(PageDefinition pgdef,
                                           Page page)
        Evaluates and returns the URI, or null if not to forward.

        Note: if URI contains EL expressions and is evaluated to an empty string, this method returns null to indicate no need to forward.