public abstract class BaseResourceNameParser extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private static Map<Method,String> |
RESOURCE_NAME_CACHE |
| 构造器和说明 |
|---|
BaseResourceNameParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract String |
defineResourceName(String baseUrl,
HttpMethodPath httpMethodPath)
define resource name.
|
protected HttpMethodPath |
parseHttpMethodPath(Method method) |
String |
parseResourceName(Method method,
org.springframework.core.env.Environment environment) |
public String parseResourceName(Method method, org.springframework.core.env.Environment environment)
protected abstract String defineResourceName(String baseUrl, HttpMethodPath httpMethodPath)
baseUrl - baseUrlhttpMethodPath - httpMethodPathprotected HttpMethodPath parseHttpMethodPath(Method method)
Copyright © 2022. All rights reserved.