| javax.servlet.http.HttpServlet org.directwebremoting.spring.DwrSpringServlet
DwrSpringServlet | public class DwrSpringServlet extends HttpServlet (Code) | | The servlet that handles all calls to DWR.
It retrieves its configuration from the Spring IoC container. This is done in two ways:
- Use the Spring namespace. When using the Spring namespace for DWR, the confgiuration for DWR is
automatically picked up by this servlet.
- Explicitly specify which configurations to pick up. When explicitly defining the DWR configuration in
Spring yourself, you can explicitely specify them in the init parameters.
Same as with the DwrServlet , you can specify a debug init parameter on this servlet
to put DWR in debug mode (allowing access to the very handy debug pages).
See Also: org.directwebremoting.servlet.DwrServlet author: Bram Smeets author: Joe Walker [joe at getahead dot ltd dot uk] |
webContextBuilder | protected WebContextBuilder webContextBuilder(Code) | | The WebContext that keeps http objects local to a thread
|
getApplicationContext | protected ApplicationContext getApplicationContext(ServletContext servletContext)(Code) | | Allow easy override when retrieving the application context.
Parameters: servletContext - the default application context. |
setApplicationContext | public void setApplicationContext(ApplicationContext applicationContext)(Code) | | Use provided application context rather than the default.
Parameters: applicationContext - |
setConfigurators | public void setConfigurators(List<Configurator> configurators)(Code) | | Setter for use by the Spring IoC container to tell us what Configurators
exist for us to configure ourselves.
Parameters: configurators - |
setIncludeDefaultConfig | public void setIncludeDefaultConfig(boolean includeDefaultConfig)(Code) | | Do we prefix the list of Configurators with a default to read the system
dwr.xml file?
Parameters: includeDefaultConfig - the includeDefaultConfig to set |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|