public class RegistrarHandlerServlet extends HttpServlet
Modifier and Type | Class and Description |
---|---|
private class |
RegistrarHandlerServlet.CreateStudent |
private class |
RegistrarHandlerServlet.GenerateStudents |
private class |
RegistrarHandlerServlet.GetStudent |
private class |
RegistrarHandlerServlet.GetStudents |
private class |
RegistrarHandlerServlet.Handler |
private class |
RegistrarHandlerServlet.RemoveStudent |
Modifier and Type | Field and Description |
---|---|
(package private) Map<String,RegistrarHandlerServlet.Handler> |
handlers |
(package private) org.apache.commons.logging.Log |
log |
(package private) Registrar |
registrar |
Constructor and Description |
---|
RegistrarHandlerServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
void |
init() |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
org.apache.commons.logging.Log log
Registrar registrar
Map<String,RegistrarHandlerServlet.Handler> handlers
public void init()
init
in class GenericServlet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class HttpServlet
ServletException
IOException
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class HttpServlet
ServletException
IOException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.