public interface MappingModelManager
开发人员: renhui
开发时间: 2013-4-23
Modifier and Type | Method and Description |
---|---|
Set<Class> |
getMappingClasses() |
MappingClassModel |
getMappingModelWithClass(Class clazz)
根据Class获取请求映射信息
|
HandlerExecutionChain |
getMappingModelWithUrl(String url)
根据请求url获取相应的请求映射信息对象
|
void |
putMappingModel(Class clazz,
MappingClassModel model)
保存控制层类Class的请求映射信息
|
void |
putUrlMapping(String combinedPattern,
MappingClassModel model) |
void |
putUrlMappings(Set<String> urlPatterns,
MappingClassModel model) |
void putMappingModel(Class clazz, MappingClassModel model)
clazz
- 具有@Contoller注解的类model
- 请求映射信息MappingClassModel getMappingModelWithClass(Class clazz)
clazz
- HandlerExecutionChain getMappingModelWithUrl(String url)
url
- void putUrlMappings(Set<String> urlPatterns, MappingClassModel model)
void putUrlMapping(String combinedPattern, MappingClassModel model)
Copyright © 2006–2018 TinyGroup. All rights reserved.