Package ch.tocco.nice2.netui.impl.dwr
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
-
Field Summary
Fields inherited from class org.directwebremoting.servlet.DwrServlet
webContextBuilder
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
ConstructorDescriptionNice2DwrServlet
(org.slf4j.Logger log, org.directwebremoting.extend.Configurator configurator) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
isDebug()
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
-
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 interfacejakarta.servlet.Servlet
- Overrides:
init
in classorg.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 classorg.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 classorg.directwebremoting.servlet.DwrServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
setScriptSessionListeners
@Autowired(required=false) public void setScriptSessionListeners(List<org.directwebremoting.event.ScriptSessionListener> scriptSessionListeners)
-