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, toString
public void setService(ManagementService service)
public void init(ServletConfig config) throws ServletException
GenericServlet
init()
instead.init
in interface Servlet
init
in class GenericServlet
config
- the servlet's configurationServletException
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException