类 DwrSpringServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- org.directwebremoting.servlet.DwrServlet
-
- org.beangle.inject.spring.web.DwrSpringServlet
-
- 所有已实现的接口:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class DwrSpringServlet extends org.directwebremoting.servlet.DwrServletThe 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.
DwrServlet, you can specify adebuginit parameter on this servlet to put DWR in debug mode (allowing access to the very handy debug pages).- 作者:
- chaostone
- 另请参阅:
DwrServlet, 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected org.directwebremoting.WebContextFactory.WebContextBuilderwebContextBuilderThe WebContext that keeps http objects local to a thread
-
构造器概要
构造器 构造器 说明 DwrSpringServlet()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidconfigureContainer(org.directwebremoting.Container container, jakarta.servlet.ServletConfig servletConfig)protected org.directwebremoting.spring.SpringContainercreateContainer(jakarta.servlet.ServletConfig servletConfig)protected org.springframework.context.ApplicationContextgetApplicationContext(jakarta.servlet.ServletContext servletContext)voidsetConfigurators(List configurators)Setter for use by the Spring IoC container to tell us what Configurators exist for us to configure ourselves.voidsetIncludeDefaultConfig(boolean includeDefaultConfig)Do we prefix the list of Configurators with a default to read the system dwr.xml file?-
从类继承的方法 jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
方法详细资料
-
createContainer
protected org.directwebremoting.spring.SpringContainer createContainer(jakarta.servlet.ServletConfig servletConfig)
- 覆盖:
createContainer在类中org.directwebremoting.servlet.DwrServlet
-
configureContainer
protected void configureContainer(org.directwebremoting.Container container, jakarta.servlet.ServletConfig servletConfig) throws jakarta.servlet.ServletException, IOException- 覆盖:
configureContainer在类中org.directwebremoting.servlet.DwrServlet- 抛出:
jakarta.servlet.ServletExceptionIOException
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext(jakarta.servlet.ServletContext servletContext)
-
setConfigurators
public void setConfigurators(List configurators)
Setter for use by the Spring IoC container to tell us what Configurators exist for us to configure ourselves.- 参数:
configurators-
-
setIncludeDefaultConfig
public void setIncludeDefaultConfig(boolean includeDefaultConfig)
Do we prefix the list of Configurators with a default to read the system dwr.xml file?- 参数:
includeDefaultConfig- the includeDefaultConfig to set
-
-