Class HelpController


  • @Controller
    @RequestMapping("/app/help")
    public class HelpController
    extends Object
    • Constructor Detail

      • HelpController

        public HelpController​(@Value("${ca3s.help.en:classpath:help/help_en.md}")
                              org.springframework.core.io.Resource helpResourceEn,
                              @Value("${ca3s.help.de:classpath:help/help_de.md}")
                              org.springframework.core.io.Resource helpResourceDe,
                              @Value("${ca3s.help.admin.en:classpath:help/helpAdmin_en.md}")
                              org.springframework.core.io.Resource helpAdminResourceEn,
                              @Value("${ca3s.help.admin.de:classpath:help/helpAdmin_de.md}")
                              org.springframework.core.io.Resource helpAdminResourceDe)
    • Method Detail

      • helpAsHTML

        @GetMapping(value="/help-{lang}.html",
                    produces="text/html")
        @ResponseBody
        public String helpAsHTML​(@PathVariable
                                 String lang)
                          throws IOException
        Throws:
        IOException
      • helpAdminAsHTML

        @GetMapping(value="/helpAdmin-{lang}.html",
                    produces="text/html")
        @ResponseBody
        public String helpAdminAsHTML​(@PathVariable
                                      String lang)
                               throws IOException
        Throws:
        IOException
      • helpAsMD

        @GetMapping(value="/help-{lang}.md",
                    produces="text/markdown; charset=UTF-8")
        @ResponseBody
        public String helpAsMD​(@PathVariable
                               String lang)
                        throws IOException
        Throws:
        IOException