public class JsonRoomUtils extends Object
| Constructor and Description |
|---|
JsonRoomUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getRequestParam(org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request,
String paramName,
Class<T> type) |
static <T> T |
getRequestParam(org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request,
String paramName,
Class<T> type,
boolean allowNull) |
static com.google.gson.JsonArray |
getResponseArray(com.google.gson.JsonElement result) |
static <T> T |
getResponseProperty(com.google.gson.JsonElement result,
String property,
Class<T> type) |
static <T> T |
getResponseProperty(com.google.gson.JsonElement result,
String property,
Class<T> type,
boolean allowNull) |
public static <T> T getRequestParam(org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request,
String paramName,
Class<T> type)
public static <T> T getRequestParam(org.kurento.jsonrpc.message.Request<com.google.gson.JsonObject> request,
String paramName,
Class<T> type,
boolean allowNull)
public static <T> T getResponseProperty(com.google.gson.JsonElement result,
String property,
Class<T> type)
public static <T> T getResponseProperty(com.google.gson.JsonElement result,
String property,
Class<T> type,
boolean allowNull)
public static com.google.gson.JsonArray getResponseArray(com.google.gson.JsonElement result)
Copyright © 2015 Kurento. All rights reserved.