|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.AbstractDetectingUrlHandlerMapping
org.parancoe.web.controller.AnnotationHandlerMapping
public class AnnotationHandlerMapping
An HandlerMapping implementation that reads url mapping from annotations. Annotation supported are:
This handlerMapping inherits directly from BeanNameUrlHandlerMapping, in this way it's still possible to map urls to controller using the 'name' attribute.
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
AnnotationHandlerMapping()
|
|
| Method Summary | |
|---|---|
protected java.lang.String[] |
determineUrlsForHandler(java.lang.String name)
|
java.lang.String |
getDefaultExtension()
|
void |
setDefaultExtension(java.lang.String defaultExtension)
|
| Methods inherited from class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping |
|---|
detectHandlers, initApplicationContext, setDetectHandlersInAncestorContexts |
| Methods inherited from class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping |
|---|
buildPathExposingHandler, exposePathWithinMapping, getHandlerInternal, getHandlerMap, getPathMatcher, getRootHandler, lookupHandler, registerHandler, registerHandler, setAlwaysUseFullPath, setLazyInitHandlers, setPathMatcher, setRootHandler, setUrlDecode, setUrlPathHelper, validateHandler |
| Methods inherited from class org.springframework.web.servlet.handler.AbstractHandlerMapping |
|---|
adaptInterceptor, extendInterceptors, getAdaptedInterceptors, getDefaultHandler, getHandler, getHandlerExecutionChain, getOrder, initInterceptors, setDefaultHandler, setInterceptors, setOrder |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
|---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationHandlerMapping()
| Method Detail |
|---|
public void setDefaultExtension(java.lang.String defaultExtension)
public java.lang.String getDefaultExtension()
protected java.lang.String[] determineUrlsForHandler(java.lang.String name)
determineUrlsForHandler in class org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||