@Deprecated public abstract class MVCServlet extends javax.servlet.http.HttpServlet
MVCServletHandler
with the method
getHandler(HttpServletRequest, HttpServletResponse)
.
MVCServletHandler.getCommand()
is called and the returned command name is passed to the
MVCServletHandler.execute(String)
method wich returns the view name. Finally it calls
MVCServletHandler.renderHtml(String)
passing the view name.
Make a subclass to provide you own handler(s).
Constructor and Description |
---|
MVCServlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
protected abstract MVCServletHandler |
getHandler(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
HttpServlet.doPost(HttpServletRequest, HttpServletResponse)
protected abstract MVCServletHandler getHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.