org.tinygroup.weblayer.mvc
类 MappingClassModel

java.lang.Object
  继承者 org.tinygroup.weblayer.mvc.MappingClassModel

public class MappingClassModel
extends Object

功能说明:保存请求路径映射信息的实体类

系统版本: v1.0
开发人员: renhui
开发时间: 2013-4-23
功能描述: 写明作用,调用方式,使用场景,以及特殊情况


构造方法摘要
MappingClassModel(Class mapClass, RequestMapping classMapping)
           
 
方法摘要
 void addMethodModel(MappingMethodModel methodModel)
           
 RequestMapping getClassMapping()
           
 Class getMapClass()
           
 List<MappingMethodModel> getMappingMethodModels()
           
 MappingMethodModel getMappingMethodWithUrlPattern(String urlPattern)
           
 Map<String,MappingMethodModel> getUrlMapping()
           
 void putUrlMapping(String urlPattern, MappingMethodModel methodModel)
           
 void putUrlMappings(Set<String> urlPatterns, MappingMethodModel methodModel)
           
 MappingMethodModel removeMappingMethodWithUrlPattern(String urlPattern)
           
 void setClassMapping(RequestMapping classMapping)
           
 void setMapClass(Class mapClass)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MappingClassModel

public MappingClassModel(Class mapClass,
                         RequestMapping classMapping)
方法详细信息

getMapClass

public Class getMapClass()

setMapClass

public void setMapClass(Class mapClass)

getClassMapping

public RequestMapping getClassMapping()

setClassMapping

public void setClassMapping(RequestMapping classMapping)

addMethodModel

public void addMethodModel(MappingMethodModel methodModel)

getMappingMethodModels

public List<MappingMethodModel> getMappingMethodModels()

putUrlMapping

public void putUrlMapping(String urlPattern,
                          MappingMethodModel methodModel)

putUrlMappings

public void putUrlMappings(Set<String> urlPatterns,
                           MappingMethodModel methodModel)

getUrlMapping

public Map<String,MappingMethodModel> getUrlMapping()

removeMappingMethodWithUrlPattern

public MappingMethodModel removeMappingMethodWithUrlPattern(String urlPattern)

getMappingMethodWithUrlPattern

public MappingMethodModel getMappingMethodWithUrlPattern(String urlPattern)


Copyright © 2006–2013 开源组织. All rights reserved.