public class GlobalDatasParser extends GlobalDatas
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LIMIT_REQUEST
Default limit for Request (sanity check)
|
static int |
limitRequest
Default limit for Request (sanity check)
|
static int |
NB_ACTIONS
Default limit for number of projections
|
COMMAND_DOLLAR, LIMIT_LOAD, MAXDEPTH, NB_FILTERS, NB_PROJECTIONS, NB_ROOTS| Modifier | Constructor and Description |
|---|---|
protected |
GlobalDatasParser() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.node.ArrayNode |
getArray(com.fasterxml.jackson.databind.JsonNode value) |
static int |
getJsonNodedepth(com.fasterxml.jackson.databind.JsonNode jsonNode)
calculate JsonNode depth
|
static Object |
getValue(com.fasterxml.jackson.databind.JsonNode value) |
static void |
sanityRequestCheck(String arg)
Check the Request if conforms to sanity check
|
getDate, getLimitParameter, getLimitValue, getValueJsonNode, sanityCheck, sanityParameterCheck, sanityParametersCheck, sanityValueCheck, sanityValueCheck, sanityVariableNameCheck, setArrayValueFromList, setLimitParameter, setLimitValuepublic static final int DEFAULT_LIMIT_REQUEST
public static int limitRequest
public static final int NB_ACTIONS
public static final void sanityRequestCheck(String arg) throws InvalidParseOperationException
arg - StringInvalidParseOperationException - if the sanity check is in errorpublic static final int getJsonNodedepth(com.fasterxml.jackson.databind.JsonNode jsonNode)
jsonNode - JsonNodepublic static final Object getValue(com.fasterxml.jackson.databind.JsonNode value) throws InvalidParseOperationException
value - JsonNodeInvalidParseOperationException - if value could not parse to JSONpublic static final com.fasterxml.jackson.databind.node.ArrayNode getArray(com.fasterxml.jackson.databind.JsonNode value)
throws InvalidParseOperationException
value - InvalidParseOperationException - if value could not parse to JSONCopyright © 2018 Vitam. All rights reserved.