Enum Template

    • Enum Constant Detail

      • DEFAULT

        public static final Template DEFAULT
    • Method Detail

      • values

        public static Template[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Template c : Template.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Template valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • adminPath

        public String adminPath()
        Returns:
        The relative path of the admin template
      • badRequest

        public String badRequest()
        Returns:
        The content of the default bad request template
      • badRequestPath

        public String badRequestPath()
        Returns:
        The relative path of the bad request template
      • cachePath

        public String cachePath()
        Returns:
        The relative path of the cache template
      • forbidden

        public String forbidden()
        Returns:
        The content of the default forbidden template
      • forbiddenPath

        public String forbiddenPath()
        Returns:
        The relative path of the forbidden template
      • loggerPath

        public String loggerPath()
        Returns:
        The relative path of the cache template
      • twofactorPath

        public String twofactorPath()
        Returns:
        The relative path of the cache template
      • loginPath

        public String loginPath()
        Returns:
        The relative path of the login template
      • notFound

        public String notFound()
        Returns:
        The content of the default not found template
      • notFoundPath

        public String notFoundPath()
        Returns:
        The relative path of the not found template
      • routesPath

        public String routesPath()
        Returns:
        The relative path of the routes template
      • schedulerPath

        public String schedulerPath()
        Returns:
        The relative path of the scheduler template
      • serverError

        public String serverError()
        Returns:
        The content of the default internal server error template
      • tooManyRequests

        public String tooManyRequests()
        Returns:
        The content of the default too many requests error template
      • serverErrorPath

        public String serverErrorPath()
        Returns:
        The relative path of the internal server error template
      • toolsPath

        public String toolsPath()
        Returns:
        The relative path of the tools template
      • unauthorized

        public String unauthorized()
        Returns:
        The content of the default unauthorized template
      • unauthorizedPath

        public String unauthorizedPath()
        Returns:
        The relative path of the unauthorized template