public class ManagementServlet extends GenericServlet
| Constructor and Description |
|---|
ManagementServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ServletConfig config)
Initialize the servlet.
|
void |
service(ServletRequest request,
ServletResponse response)
Service a request.
|
void |
setService(ManagementService service) |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toStringpublic void setService(ManagementService service)
public void init(ServletConfig config) throws ServletException
GenericServletinit() instead.init in interface Servletinit in class GenericServletconfig - the servlet's configurationServletExceptionpublic void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
Servletservice simultaneously. Normally,
req and res will actually be
HttpServletRequest and HttpServletResponse
classes.request - request information. Normally servlets will cast this
to HttpServletRequestresponse - response information. Normally servlets will cast this
to HttpServletRequestjava.io.IOExceptionServletException