winstone.invoker
Class InvokerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
winstone.invoker.InvokerServlet
- All Implemented Interfaces:
- java.io.Serializable, Servlet, ServletConfig
public class InvokerServlet
- extends HttpServlet
If a URI matches a servlet class name, mount an instance of that servlet, and
try to process the request using that servlet.
- Version:
- $Id: InvokerServlet.java,v 1.6 2006/03/24 17:24:24 rickknowles Exp $
- Author:
- Rick Knowles
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvokerServlet
public InvokerServlet()
init
public void init(ServletConfig config)
throws ServletException
- Set up a blank map of servlet configuration instances
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
destroy
public void destroy()
- Destroy any mounted instances we might be holding, then destroy myself
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
getInvokableInstance
protected ServletConfiguration getInvokableInstance(java.lang.String servletName)
- Get an instance of the servlet configuration object
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse rsp)
throws ServletException,
java.io.IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
java.io.IOException
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse rsp)
throws ServletException,
java.io.IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
java.io.IOException
Copyright © 2013. All Rights Reserved.