public class SpringGroupingStrategy extends java.lang.Object implements ResourceGroupingStrategy
Constructor and Description |
---|
SpringGroupingStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceDescription(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
Gets the resource description.
|
java.util.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.
|
java.lang.Integer |
getResourcePosition(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
Gets the position of the resource.
|
boolean |
supports(DocumentationType delimiter) |
public java.util.Set<ResourceGroup> getResourceGroups(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod)
ResourceGroupingStrategy
getResourceGroups
in interface ResourceGroupingStrategy
requestMappingInfo
- request mapping infohandlerMethod
- handler methodApiListingReferenceScanner
public java.lang.String getResourceDescription(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod)
ResourceGroupingStrategy
getResourceDescription
in interface ResourceGroupingStrategy
requestMappingInfo
- request mapping infohandlerMethod
- handler methodpublic java.lang.Integer getResourcePosition(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo, org.springframework.web.method.HandlerMethod handlerMethod)
ResourceGroupingStrategy
getResourcePosition
in interface ResourceGroupingStrategy
requestMappingInfo
- mapping informationhandlerMethod
- handler methodpublic boolean supports(DocumentationType delimiter)
supports
in interface org.springframework.plugin.core.Plugin<DocumentationType>