org.apache.qpid.management.web.action
Class LoggingConfigurationAction
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.qpid.management.web.action.LoggingConfigurationAction
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class LoggingConfigurationAction
- extends HttpServlet
Logging configuration controller.
Accepts input parameters from admin console and configure the underlying
logging subsystem at runtime.
- 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 |
LoggingConfigurationAction
public LoggingConfigurationAction()
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Retrieves current logging configuration and forward those data to the logging configuration view page.
In this way that page will be able to display the current logging settings.
- Overrides:
doGet
in class HttpServlet
- Parameters:
request
- the http request.response
- the http response.
- Throws:
ServletException
- when this controller is not able to forward to the appropriate view page.
IOException
- when this controller is not able to forward to the appropriate view page.
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Accepts user data coming from admin console and use it for configure the underlying logging
subsystem.
- Overrides:
doPost
in class HttpServlet
- Parameters:
request
- the http request.response
- the http response.
- Throws:
ServletException
- when this controller is not able to forward to the appropriate view page.
IOException
- when this controller is not able to forward to the appropriate view page.
Licensed to the Apache Software Foundation