Liferay 6.2.0-ce-b3

com.liferay.portal.kernel.jsonwebservice
Class JSONWebServiceNaming

java.lang.Object
  extended by com.liferay.portal.kernel.jsonwebservice.JSONWebServiceNaming

public class JSONWebServiceNaming
extends Object


Field Summary
protected  Set<String> excludedMethodNames
           
protected  Set<String> invalidHttpMethods
           
protected  Set<String> prefixes
           
 
Constructor Summary
JSONWebServiceNaming()
           
 
Method Summary
 String convertClassNameToPath(Class<?> clazz)
           
 String convertImplClassNameToUtilClassName(Class<?> implementationClass)
           
 String convertMethodNameToHttpMethod(Method method)
           
 String convertMethodNameToPath(Method method)
           
protected  String getMethodNamePrefix(String methodName)
           
 boolean isIncludedMethod(Method method)
           
 boolean isValidHttpMethod(String httpMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

excludedMethodNames

protected Set<String> excludedMethodNames

invalidHttpMethods

protected Set<String> invalidHttpMethods

prefixes

protected Set<String> prefixes
Constructor Detail

JSONWebServiceNaming

public JSONWebServiceNaming()
Method Detail

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)

Liferay 6.2.0-ce-b3