com.liferay.portal.kernel.jsonwebservice
Class JSONWebServiceActionsManagerUtil
java.lang.Object
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManagerUtil
public class JSONWebServiceActionsManagerUtil
- extends java.lang.Object
- Author:
- Igor Spasic
|
Method Summary |
static java.util.Set<java.lang.String> |
getContextPaths()
|
static JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
|
static JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
java.lang.String path,
java.lang.String method,
java.util.Map<java.lang.String,java.lang.Object> parameterMap)
|
static JSONWebServiceActionMapping |
getJSONWebServiceActionMapping(java.lang.String signature)
|
static java.util.List<JSONWebServiceActionMapping> |
getJSONWebServiceActionMappings(java.lang.String contextPath)
|
static int |
getJSONWebServiceActionsCount(java.lang.String contextPath)
|
static JSONWebServiceActionsManager |
getJSONWebServiceActionsManager()
|
static void |
registerJSONWebServiceAction(java.lang.String contextPath,
java.lang.Class<?> actionClass,
java.lang.reflect.Method actionMethod,
java.lang.String path,
java.lang.String method)
|
static void |
registerJSONWebServiceAction(java.lang.String contextPath,
java.lang.Object actionObject,
java.lang.Class<?> actionClass,
java.lang.reflect.Method actionMethod,
java.lang.String path,
java.lang.String method)
|
static int |
registerServletContext(javax.servlet.ServletContext servletContext)
|
static int |
registerServletContext(java.lang.String contextPath)
|
void |
setJSONWebServiceActionsManager(JSONWebServiceActionsManager jsonWebServiceActionsManager)
|
static int |
unregisterJSONWebServiceActions(java.lang.Object actionObject)
|
static int |
unregisterJSONWebServiceActions(java.lang.String contextPath)
|
static int |
unregisterServletContext(javax.servlet.ServletContext servletContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONWebServiceActionsManagerUtil
public JSONWebServiceActionsManagerUtil()
getContextPaths
public static java.util.Set<java.lang.String> getContextPaths()
getJSONWebServiceAction
public static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
getJSONWebServiceAction
public static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
java.lang.String path,
java.lang.String method,
java.util.Map<java.lang.String,java.lang.Object> parameterMap)
getJSONWebServiceActionMapping
public static JSONWebServiceActionMapping getJSONWebServiceActionMapping(java.lang.String signature)
getJSONWebServiceActionMappings
public static java.util.List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(java.lang.String contextPath)
getJSONWebServiceActionsCount
public static int getJSONWebServiceActionsCount(java.lang.String contextPath)
getJSONWebServiceActionsManager
public static JSONWebServiceActionsManager getJSONWebServiceActionsManager()
registerJSONWebServiceAction
public static void registerJSONWebServiceAction(java.lang.String contextPath,
java.lang.Class<?> actionClass,
java.lang.reflect.Method actionMethod,
java.lang.String path,
java.lang.String method)
registerJSONWebServiceAction
public static void registerJSONWebServiceAction(java.lang.String contextPath,
java.lang.Object actionObject,
java.lang.Class<?> actionClass,
java.lang.reflect.Method actionMethod,
java.lang.String path,
java.lang.String method)
registerServletContext
public static int registerServletContext(javax.servlet.ServletContext servletContext)
registerServletContext
public static int registerServletContext(java.lang.String contextPath)
unregisterJSONWebServiceActions
public static int unregisterJSONWebServiceActions(java.lang.Object actionObject)
unregisterJSONWebServiceActions
public static int unregisterJSONWebServiceActions(java.lang.String contextPath)
unregisterServletContext
public static int unregisterServletContext(javax.servlet.ServletContext servletContext)
setJSONWebServiceActionsManager
public void setJSONWebServiceActionsManager(JSONWebServiceActionsManager jsonWebServiceActionsManager)