com.liferay.portal.kernel.jsonwebservice
Class JSONWebServiceActionsManagerUtil
java.lang.Object
com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManagerUtil
public class JSONWebServiceActionsManagerUtil
- extends Object
Method Summary |
static Set<String> |
getContextPaths()
|
static JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
|
static JSONWebServiceAction |
getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
String path,
String method,
Map<String,Object> parameterMap)
|
static JSONWebServiceActionMapping |
getJSONWebServiceActionMapping(String signature)
|
static List<JSONWebServiceActionMapping> |
getJSONWebServiceActionMappings(String contextPath)
|
static int |
getJSONWebServiceActionsCount(String contextPath)
|
static JSONWebServiceActionsManager |
getJSONWebServiceActionsManager()
|
static void |
registerJSONWebServiceAction(String contextPath,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
|
static void |
registerJSONWebServiceAction(String contextPath,
Object actionObject,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
|
static int |
registerServletContext(javax.servlet.ServletContext servletContext)
|
static int |
registerServletContext(String contextPath)
|
void |
setJSONWebServiceActionsManager(JSONWebServiceActionsManager jsonWebServiceActionsManager)
|
static int |
unregisterJSONWebServiceActions(Object actionObject)
|
static int |
unregisterJSONWebServiceActions(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 Set<String> getContextPaths()
getJSONWebServiceAction
public static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request)
getJSONWebServiceAction
public static JSONWebServiceAction getJSONWebServiceAction(javax.servlet.http.HttpServletRequest request,
String path,
String method,
Map<String,Object> parameterMap)
getJSONWebServiceActionMapping
public static JSONWebServiceActionMapping getJSONWebServiceActionMapping(String signature)
getJSONWebServiceActionMappings
public static List<JSONWebServiceActionMapping> getJSONWebServiceActionMappings(String contextPath)
getJSONWebServiceActionsCount
public static int getJSONWebServiceActionsCount(String contextPath)
getJSONWebServiceActionsManager
public static JSONWebServiceActionsManager getJSONWebServiceActionsManager()
registerJSONWebServiceAction
public static void registerJSONWebServiceAction(String contextPath,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
registerJSONWebServiceAction
public static void registerJSONWebServiceAction(String contextPath,
Object actionObject,
Class<?> actionClass,
Method actionMethod,
String path,
String method)
registerServletContext
public static int registerServletContext(javax.servlet.ServletContext servletContext)
registerServletContext
public static int registerServletContext(String contextPath)
unregisterJSONWebServiceActions
public static int unregisterJSONWebServiceActions(Object actionObject)
unregisterJSONWebServiceActions
public static int unregisterJSONWebServiceActions(String contextPath)
unregisterServletContext
public static int unregisterServletContext(javax.servlet.ServletContext servletContext)
setJSONWebServiceActionsManager
public void setJSONWebServiceActionsManager(JSONWebServiceActionsManager jsonWebServiceActionsManager)