Package org.mockserver.server
Class MockServerServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.mockserver.server.MockServerServlet
-
- All Implemented Interfaces:
Serializable
,EventListener
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,javax.servlet.ServletContextListener
public class MockServerServlet extends javax.servlet.http.HttpServlet implements javax.servlet.ServletContextListener
- Author:
- jamesdbloom
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MockServerServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent sce)
void
contextInitialized(javax.servlet.ServletContextEvent sce)
void
service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
service
public void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
- Overrides:
service
in classjavax.servlet.http.HttpServlet
-
-