Class DeveloperSettingsServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @WebServlet(name="DeveloperAjax",
                urlPatterns="/admin/developerAjax")
    public class DeveloperSettingsServlet
    extends VitroAjaxController
    Accept an AJAX request to update the developer settings. Return an HTML representation of the developer panel from the settings and a Freemarker template. If developer mode is not enabled, the HTML response is empty. You may only control the panel if you are logged in with sufficient authorization, or if anonymous control is permitted by the settings. If you are not allowed to control the panel, then the HTML response is only a statement that developer mode is enabled. Otherwise, it is a full panel (collapsed at first).
    See Also:
    Serialized Form
    • Constructor Detail

      • DeveloperSettingsServlet

        public DeveloperSettingsServlet()