Class CurrentPageDocType


  • public class CurrentPageDocType
    extends Object
    Current PageDocType holder.
    Since:
    8.2.0
    Version:
    $Revision: 18135 $ $Date: 2015-12-15 17:31:03 -0200 (Tue, 15 Dec 2015) $
    • Constructor Detail

      • CurrentPageDocType

        public CurrentPageDocType()
    • Method Detail

      • set

        public static void set​(PageDocType docType,
                               HttpServletRequest request)
        Stores current doc type.
        Parameters:
        docType - the doc type.
        request - the request.
        Since:
        8.2.0
      • get

        public static PageDocType get()
        Returns the current doc type, if any.
        Returns:
        the current doc type, if any.
        Since:
        8.2.0
      • get

        public static PageDocType get​(HttpServletRequest request)
        Returns the current doc type, if any.
        Parameters:
        request - the request being processed.
        Returns:
        the current doc type, if any.
        Since:
        8.2.0
      • remove

        public static void remove()
        Removes current doc type.
        Since:
        8.2.0