com.liferay.portal.kernel.jsonwebservice
Class JSONWebServiceNaming
java.lang.Object
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceNaming
public class JSONWebServiceNaming
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
excludedMethodNames
protected Set<String> excludedMethodNames
invalidHttpMethods
protected Set<String> invalidHttpMethods
prefixes
protected Set<String> prefixes
JSONWebServiceNaming
public JSONWebServiceNaming()
convertClassNameToPath
public String convertClassNameToPath(Class<?> clazz)
convertImplClassNameToUtilClassName
public String convertImplClassNameToUtilClassName(Class<?> implementationClass)
convertMethodNameToHttpMethod
public String convertMethodNameToHttpMethod(Method method)
convertMethodNameToPath
public String convertMethodNameToPath(Method method)
isIncludedMethod
public boolean isIncludedMethod(Method method)
isValidHttpMethod
public boolean isValidHttpMethod(String httpMethod)
getMethodNamePrefix
protected String getMethodNamePrefix(String methodName)