Пример #1
0
            /// <exception cref="Javax.Servlet.ServletException"/>
            /// <exception cref="System.IO.IOException"/>
            protected override void DoPost(HttpServletRequest req, HttpServletResponse resp)
            {
                TextWriter writer = resp.GetWriter();

                writer.Write("ping: ");
                IOUtils.Copy(req.GetReader(), writer);
                resp.SetStatus(HttpServletResponse.ScOk);
            }