Class DataServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class DataServlet
    extends N2oServlet
    Универсальный сервлет обработки данных в json
    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        Overrides:
        init in class N2oServlet
        Throws:
        javax.servlet.ServletException
      • safeDoGet

        protected void safeDoGet​(javax.servlet.http.HttpServletRequest req,
                                 javax.servlet.http.HttpServletResponse res)
                          throws java.io.IOException
        Overrides:
        safeDoGet in class N2oServlet
        Throws:
        java.io.IOException
      • safeDoPost

        protected void safeDoPost​(javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse res)
                           throws java.io.IOException
        Overrides:
        safeDoPost in class N2oServlet
        Throws:
        java.io.IOException