org.apache.qpid.management.web.action
Class LoggingConfigurationAction

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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

Constructor Summary
LoggingConfigurationAction()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
          Retrieves current logging configuration and forward those data to the logging configuration view page.
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
          Accepts user data coming from admin console and use it for configure the underlying logging subsystem.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
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
 

Constructor Detail

LoggingConfigurationAction

public LoggingConfigurationAction()
Method Detail

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