Class SettingsController

java.lang.Object
org.ff4j.web.controller.AbstractController
org.ff4j.web.controller.SettingsController

public class SettingsController extends AbstractController
Controller for main class
Author:
Cedrick LUNVEN (@clunven)
  • Field Details

    • LOGGER

      public static final org.slf4j.Logger LOGGER
      Logger for this class.
  • Constructor Details

    • SettingsController

      public SettingsController(FF4j ff4j, org.thymeleaf.TemplateEngine te)
  • Method Details

    • post

      public void post(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, org.thymeleaf.context.WebContext ctx) throws IOException
      Create view from template.
      Specified by:
      post in class AbstractController
      Parameters:
      req - current http request
      res - current http response
      Throws:
      IOException - target error
    • get

      public void get(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, org.thymeleaf.context.WebContext ctx) throws IOException
      Create view from template.
      Specified by:
      get in class AbstractController
      Parameters:
      req - current http request
      res - current http response
      Throws:
      IOException - target error