Class Page

  • All Implemented Interfaces:
    Action

    public class Page
    extends AbstractAction
    The page action used to set the page info, such as the content type.
    Author:
    tomyeh
    • Constructor Detail

      • Page

        public Page()
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        Returns the content type.
      • setContentType

        public void setContentType​(java.lang.String ctype)
        Sets the content type.
      • setOptionalContentType

        public void setOptionalContentType​(java.lang.String ctype)
        Sets the optional content type. It is the content type generated automatically. We will ignore it if the page is included.
        Since:
        3.0.6
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object