HandlerMethodMappingNamingStrategy for RequestMappingInfo-based handler
method mappings.
If the RequestMappingInfo name attribute is set, its value is used.
Otherwise the name is based on the capital letters of the class name,
followed by "#" as a separator, and the method name. For example "TC#getFoo"
for a class named TestController with method getFoo.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | SEPARATOR
Separator between the type and method-level parts of a HandlerMethod mapping name. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getName(HandlerMethod
the handler method handlerMethod, RequestMappingInfo the mapping mapping)Implements org. Determine the name for the given HandlerMethod and mapping. |
| SEPARATOR | back to summary |
|---|---|
| public static final String SEPARATOR Separator between the type and method-level parts of a HandlerMethod mapping name. | |
| RequestMappingInfoHandlerMethodMappingNamingStrategy | back to summary |
|---|---|
| public RequestMappingInfoHandlerMethodMappingNamingStrategy() | |
| getName | back to summary |
|---|---|
| public String getName(HandlerMethod handlerMethod, RequestMappingInfo mapping) Implements org. Doc from org. Determine the name for the given HandlerMethod and mapping.
| |