|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tinkerpop.rexster.util.RequestObjectHelper
public class RequestObjectHelper
Field Summary | |
---|---|
static String |
DEFAULT_WILDCARD
|
Constructor Summary | |
---|---|
RequestObjectHelper()
|
Method Summary | |
---|---|
static Long |
getEndOffset(org.codehaus.jettison.json.JSONObject requestObject)
Given a request object, return the end offset for paging purposes. |
static List<String> |
getReturnKeys(org.codehaus.jettison.json.JSONArray arrayOfKeys,
String wildcard)
Given an array of keys from the request object, return the desired returnKeys. |
static List<String> |
getReturnKeys(org.codehaus.jettison.json.JSONObject requestObject)
Given a request object, return the desired returnKeys. |
static List<String> |
getReturnKeys(org.codehaus.jettison.json.JSONObject requestObject,
String wildcard)
Given a request object, return the desired returnKeys. |
static org.codehaus.jettison.json.JSONObject |
getRexsterRequest(org.codehaus.jettison.json.JSONObject requestObject)
Given a request object, return the fragment of JSON that deals with Rexster-reserved parameters. |
static boolean |
getShowTypes(org.codehaus.jettison.json.JSONObject requestObject)
Given a request object, return the show types. |
static Long |
getStartOffset(org.codehaus.jettison.json.JSONObject requestObject)
Given a request object, return the start offset for paging purposes. |
static boolean |
hasElementProperties(org.codehaus.jettison.json.JSONObject requestObject)
Given a request object, determine if it has graph element properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_WILDCARD
Constructor Detail |
---|
public RequestObjectHelper()
Method Detail |
---|
public static org.codehaus.jettison.json.JSONObject getRexsterRequest(org.codehaus.jettison.json.JSONObject requestObject)
requestObject
- the request object
public static List<String> getReturnKeys(org.codehaus.jettison.json.JSONObject requestObject)
requestObject
- the request object
public static List<String> getReturnKeys(org.codehaus.jettison.json.JSONObject requestObject, String wildcard)
requestObject
- the request objectwildcard
- a value that represents the specification of all keys
public static List<String> getReturnKeys(org.codehaus.jettison.json.JSONArray arrayOfKeys, String wildcard)
arrayOfKeys
- array of keys from the request object.wildcard
- a value that represents the specification of all keys
public static boolean getShowTypes(org.codehaus.jettison.json.JSONObject requestObject)
requestObject
- the request object
public static Long getStartOffset(org.codehaus.jettison.json.JSONObject requestObject)
requestObject
- the request object.
public static Long getEndOffset(org.codehaus.jettison.json.JSONObject requestObject)
requestObject
- the request object.
public static boolean hasElementProperties(org.codehaus.jettison.json.JSONObject requestObject)
requestObject
- the request object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |