public class MappingModelManagerImpl extends Object implements MappingModelManager
Constructor and Description |
---|
MappingModelManagerImpl() |
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 urlPattern,
MappingClassModel model) |
void |
putUrlMappings(Set<String> urlPatterns,
MappingClassModel model) |
public void putMappingModel(Class clazz, MappingClassModel model)
MappingModelManager
putMappingModel
in interface MappingModelManager
clazz
- 具有@Contoller注解的类model
- 请求映射信息public MappingClassModel getMappingModelWithClass(Class clazz)
MappingModelManager
getMappingModelWithClass
in interface MappingModelManager
public Set<Class> getMappingClasses()
getMappingClasses
in interface MappingModelManager
public HandlerExecutionChain getMappingModelWithUrl(String url)
MappingModelManager
getMappingModelWithUrl
in interface MappingModelManager
public void putUrlMappings(Set<String> urlPatterns, MappingClassModel model)
putUrlMappings
in interface MappingModelManager
public void putUrlMapping(String urlPattern, MappingClassModel model)
putUrlMapping
in interface MappingModelManager
Copyright © 2006–2018 TinyGroup. All rights reserved.