public class JSONWebServiceNaming
extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
excludedMethodNames |
protected String[] |
excludedPaths |
protected String[] |
excludedTypesNames |
protected String[] |
includedPaths |
protected Set<String> |
invalidHttpMethods |
protected Set<String> |
prefixes |
Constructor and Description |
---|
JSONWebServiceNaming() |
Modifier and Type | Method and Description |
---|---|
String |
convertMethodToHttpMethod(Method method) |
String |
convertMethodToPath(Method method) |
String |
convertModelClassToImplClassName(Class<?> clazz) |
String |
convertServiceClassToPath(Class<?> clazz) |
String |
convertServiceClassToSimpleName(Class<?> clazz) |
String |
convertServiceImplClassToUtilClassName(Class<?> clazz) |
protected String |
getMethodNamePrefix(String methodName) |
boolean |
isIncludedMethod(Method method) |
boolean |
isIncludedPath(String contextPath,
String path) |
boolean |
isValidHttpMethod(String httpMethod) |
protected Set<String> excludedMethodNames
protected String[] excludedPaths
protected String[] excludedTypesNames
protected String[] includedPaths
protected Set<String> invalidHttpMethods
protected Set<String> prefixes
public String convertMethodToHttpMethod(Method method)
public String convertMethodToPath(Method method)
public String convertModelClassToImplClassName(Class<?> clazz)
public String convertServiceClassToPath(Class<?> clazz)
public String convertServiceClassToSimpleName(Class<?> clazz)
public String convertServiceImplClassToUtilClassName(Class<?> clazz)
public boolean isIncludedMethod(Method method)
public boolean isIncludedPath(String contextPath, String path)
public boolean isValidHttpMethod(String httpMethod)
protected String getMethodNamePrefix(String methodName)