接口 ResourceGroupingStrategy
- 所有超级接口:
org.springframework.plugin.core.Plugin<DocumentationType>
@Deprecated
public interface ResourceGroupingStrategy
extends org.springframework.plugin.core.Plugin<DocumentationType>
已过时。
Deprecated in lieu of using ApiListingBuilderPlugins instead
- 从以下版本开始:
- 2.2.0 - only here for backward compatibility
-
方法概要
修饰符和类型方法说明getResourceDescription(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod) 已过时。getResourceGroups(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod) 已过时。Gets the resource group for a particular request mapping.getResourcePosition(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod) 已过时。从接口继承的方法 org.springframework.plugin.core.Plugin
supports
-
方法详细资料
-
getResourceGroups
Set<ResourceGroup> getResourceGroups(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod) 已过时。Gets the resource group for a particular request mapping. Typically several requestMappings will live under a particular resource group.- 参数:
requestMappingInfo- request mapping infohandlerMethod- handler method- 返回:
- Resource group uris.
- 另请参阅:
-
ApiListingReferenceScanner
-
getResourceDescription
@Deprecated String getResourceDescription(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod) 已过时。Gets the resource description. This is typically the class name of the spring controller or value() attribute of any @Api annotations on that controller class This method is deprecated since this functionality will likely be changed as we rework some of the internals- 参数:
requestMappingInfo- request mapping infohandlerMethod- handler method- 返回:
- description of the resource
- 从以下版本开始:
- 2.0.2
-
getResourcePosition
@Deprecated Integer getResourcePosition(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod) 已过时。Gets the position of the resource. This method is deprecated since this functionality will likely be changed as we rework some of the internals- 参数:
requestMappingInfo- mapping informationhandlerMethod- handler method- 返回:
- The numeric position
- 从以下版本开始:
- 2.0.2
-