org.openmobileis.embedded.webserver.test.services.servlet
Class TestServletServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.openmobileis.embedded.webserver.test.services.servlet.TestServletServlet

public class TestServletServlet
extends HttpServlet

URL http://127.0.0.1:9091/testservlet

Author:
Romain Beaugrand
See Also:
Serialized Form

Constructor Summary
TestServletServlet()
           
 
Method Summary
 void doGet(HttpServletRequest req, HttpServletResponse res)
           
 void doPost(HttpServletRequest req, HttpServletResponse res)
          Call service from POST method
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestServletServlet

public TestServletServlet()
Method Detail

init

public void init()
          throws ServletException
Throws:
ServletException

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse res)
           throws ServletException,
                  java.io.IOException
Throws:
ServletException
java.io.IOException

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse res)
            throws ServletException,
                   java.io.IOException
Call service from POST method

Parameters:
req - the servlet request
Throws:
ServletException - when an exception has occurred
java.io.IOException


Copyright 2005 e-Care. All Rights Reserved.