Class GetModelsCommand


  • public class GetModelsCommand
    extends Command
    • Constructor Detail

      • GetModelsCommand

        public GetModelsCommand()
    • Method Detail

      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
        This command uses POST but is left CSRF-unprotected as it does not incur a state change.
        Overrides:
        doPost in class Command
        Throws:
        javax.servlet.ServletException
        IOException
      • 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
      • internalRespond

        protected void internalRespond​(javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response)
                                throws javax.servlet.ServletException,
                                       IOException
        Throws:
        javax.servlet.ServletException
        IOException