Class Nice2DwrServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.directwebremoting.servlet.DwrServlet
ch.tocco.nice2.netui.impl.dwr.Nice2DwrServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@Component public class Nice2DwrServlet extends org.directwebremoting.servlet.DwrServlet
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class org.directwebremoting.servlet.DwrServlet

    webContextBuilder

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
    Nice2DwrServlet(org.slf4j.Logger log, org.directwebremoting.extend.Configurator configurator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureContainer(org.directwebremoting.Container container, jakarta.servlet.ServletConfig servletConfig)
     
    void
    doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    init(jakarta.servlet.ServletConfig servletConfig)
     
    boolean
     
    void
    setActiveReverseAjaxEnabled(boolean activeReverseAjaxEnabled)
     
    void
    setDebug(boolean debug)
     
    void
    setScriptSessionListeners(List<org.directwebremoting.event.ScriptSessionListener> scriptSessionListeners)
     

    Methods inherited from class org.directwebremoting.servlet.DwrServlet

    createContainer, destroy, doGet, getContainer

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Nice2DwrServlet

      @Lazy public Nice2DwrServlet(org.slf4j.Logger log, org.directwebremoting.extend.Configurator configurator)
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig servletConfig) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class org.directwebremoting.servlet.DwrServlet
      Throws:
      jakarta.servlet.ServletException
    • doPost

      public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
      Overrides:
      doPost in class org.directwebremoting.servlet.DwrServlet
      Throws:
      IOException
      jakarta.servlet.ServletException
    • isDebug

      public boolean isDebug()
    • setDebug

      @Value("${netui.dwr.debug}") public void setDebug(boolean debug)
    • setActiveReverseAjaxEnabled

      @Value("${netui.dwr.activeReverseAjaxEnabled}") public void setActiveReverseAjaxEnabled(boolean activeReverseAjaxEnabled)
    • configureContainer

      protected void configureContainer(org.directwebremoting.Container container, jakarta.servlet.ServletConfig servletConfig) throws jakarta.servlet.ServletException, IOException
      Overrides:
      configureContainer in class org.directwebremoting.servlet.DwrServlet
      Throws:
      jakarta.servlet.ServletException
      IOException
    • setScriptSessionListeners

      @Autowired(required=false) public void setScriptSessionListeners(List<org.directwebremoting.event.ScriptSessionListener> scriptSessionListeners)