org.directwebremoting.spring
Class DwrHandlerMapping
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.handler.AbstractHandlerMapping
org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
org.directwebremoting.spring.DwrHandlerMapping
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.HandlerMapping
public class DwrHandlerMapping
- extends org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
Automatically maps (at context startup) the URLs needed by DWR to a DWRController.
- Author:
- Jose Noheda [jose.noheda@gmail.com]
| Fields inherited from interface org.springframework.web.servlet.HandlerMapping |
PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE |
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
|
Method Summary |
void |
initApplicationContext()
Maps the URLs (/engine.js, /util.js, /interface/**, /call/**) and continues. |
| Methods inherited from class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping |
setMappings, setUrlMap |
| Methods inherited from class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping |
setAlwaysUseFullPath, setLazyInitHandlers, setPathMatcher, setUrlDecode, setUrlPathHelper |
| Methods inherited from class org.springframework.web.servlet.handler.AbstractHandlerMapping |
getHandler, getOrder, setDefaultHandler, setInterceptors, setOrder |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, setApplicationContext |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DwrHandlerMapping
public DwrHandlerMapping()
initApplicationContext
public void initApplicationContext()
throws org.springframework.beans.BeansException
- Maps the URLs (/engine.js, /util.js, /interface/**, /call/**) and continues.
- Overrides:
initApplicationContext in class org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
- Throws:
org.springframework.beans.BeansException