public class JSONWebServiceNamingUtil
extends Object
Constructor and Description |
---|
JSONWebServiceNamingUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
convertMethodToHttpMethod(Method method) |
static String |
convertMethodToPath(Method method) |
static String |
convertModelClassToImplClassName(Class<?> clazz) |
static String |
convertServiceClassToPath(Class<?> clazz) |
static String |
convertServiceClassToSimpleName(Class<?> clazz) |
static boolean |
isIncludedMethod(Method method) |
static boolean |
isIncludedPath(String contextPath,
String path) |
static boolean |
isValidHttpMethod(String httpMethod) |
public static String convertMethodToHttpMethod(Method method)
public static String convertMethodToPath(Method method)
public static String convertModelClassToImplClassName(Class<?> clazz)
public static String convertServiceClassToPath(Class<?> clazz)
public static String convertServiceClassToSimpleName(Class<?> clazz)
public static boolean isIncludedMethod(Method method)
public static boolean isIncludedPath(String contextPath, String path)
public static boolean isValidHttpMethod(String httpMethod)