Class JavaDocController
java.lang.Object
me.josephsf.jobportaljosephsfeirtest.controller.JavaDocController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRedirects requests from /docs endpoint to the JavaDoc index page.
-
Constructor Details
-
JavaDocController
public JavaDocController()
-
-
Method Details
-
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
-