Class LoadLanguageCommand


  • public class LoadLanguageCommand
    extends Command
    • Constructor Detail

      • LoadLanguageCommand

        public LoadLanguageCommand()
    • Method Detail

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws javax.servlet.ServletException,
                          IOException
        Overrides:
        doGet in class Command
        Throws:
        javax.servlet.ServletException
        IOException
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
        POST is supported but does not actually change any state so we do not add CSRF protection to it. This ensures existing extensions will not have to be updated to add a CSRF token to their requests (2019-11-10)
        Overrides:
        doPost in class Command
        Throws:
        javax.servlet.ServletException
        IOException