Class JavaDocController

java.lang.Object
me.josephsf.jobportaljosephsfeirtest.controller.JavaDocController

@Controller public class JavaDocController extends Object
  • Constructor Details

    • JavaDocController

      public JavaDocController()
  • Method Details

    • redirectToJavaDocs

      @GetMapping("/docs") public String redirectToJavaDocs()
      Redirects requests from /docs endpoint to the JavaDoc index page.

      This method handles GET requests to the /docs endpoint and redirects the user to the main index.html page of the generated JavaDoc documentation. The JavaDoc documentation is served from the /javadoc directory as configured in the application.properties file.

      Returns:
      A string containing the redirect URL for the JavaDoc index page