org.apache.qpid.management.web.action
Class BrokersManagementAction
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.qpid.management.web.action.BrokersManagementAction
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class BrokersManagementAction
- extends HttpServlet
This controller is responsible to :
- prepare data for the page that is showing all connected brokers.
.
connect QMan with a broker on demand.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokersManagementAction
public BrokersManagementAction()
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Retrieves all connected brokers (their connection data) and prepare the model that
is then forwarded to the appropriate view page.
- Overrides:
doGet
in class HttpServlet
- Parameters:
request
- the http request.response
- the http response.
- Throws:
ServletException
- in case of failure while forwarding to the view component.
IOException
- in case of failure while forwarding to the view component.
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Connects QMan with a new broker and forwards to
the brokers list view page.
- Overrides:
doPost
in class HttpServlet
- Parameters:
request
- the http request.response
- the http response.
- Throws:
ServletException
- in case of failure while forwarding to the view component.
IOException
- in case of failure while forwarding to the view component.
Licensed to the Apache Software Foundation