public class Mapping extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Mapping |
create(org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping mapping) |
Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,org.springframework.web.method.HandlerMethod> |
getHandlerMethods() |
org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder |
paths(String... paths) |
Mapping |
register(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
Object handler,
Method method) |
Mapping |
unregister(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo) |
public static Mapping create(org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping mapping)
public org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder paths(String... paths)
public Mapping register(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, Object handler, Method method)
public Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,org.springframework.web.method.HandlerMethod> getHandlerMethods()
public Mapping unregister(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo)
Copyright © 2020–2021. All rights reserved.