A G I J O S T U W 

A

afterHandle(Request, Response) - Method in class org.restlet.ext.json.JsonpFilter
Assumes that there is a "callback" query parameter available in the URI query string, containing the name of the JavaScript callback method.

G

getCallback() - Method in class org.restlet.ext.json.JsonpRepresentation
Returns the name of the JavaScript callback method.
getIndentingSize() - Method in class org.restlet.ext.json.JsonRepresentation
Returns the number of spaces to use for indentation.
getJsonArray() - Method in class org.restlet.ext.json.JsonRepresentation
Gets the wrapped JSON array or converts the wrapped representation if needed.
getJsonObject() - Method in class org.restlet.ext.json.JsonRepresentation
Gets the wrapped JSON object or converts the wrapped representation if needed.
getJsonTokener() - Method in class org.restlet.ext.json.JsonRepresentation
Gets the wrapped JSON tokener or converts the wrapped representation if needed.
getObjectClasses(Variant) - Method in class org.restlet.ext.json.JsonConverter
 
getSize() - Method in class org.restlet.ext.json.JsonpRepresentation
 
getSize() - Method in class org.restlet.ext.json.JsonRepresentation
 
getStatus() - Method in class org.restlet.ext.json.JsonpRepresentation
Returns the actual status code.
getVariants(Class<?>) - Method in class org.restlet.ext.json.JsonConverter
 

I

isIndenting() - Method in class org.restlet.ext.json.JsonRepresentation
Indicates if JSON objects and arrays should be indented.

J

JsonConverter - Class in org.restlet.ext.json
Converter between the JSON API (more precisely JSONArray, JSONObject and JSONTokener instances) and Representation classes.
JsonConverter() - Constructor for class org.restlet.ext.json.JsonConverter
 
JsonpFilter - Class in org.restlet.ext.json
Filter that converts response entity of the JSON media type into a JSONP callback document.
JsonpFilter(Context) - Constructor for class org.restlet.ext.json.JsonpFilter
Constructor.
JsonpRepresentation - Class in org.restlet.ext.json
Wrappers that adds a JSONP header and footer to JSON representations.
JsonpRepresentation(String, Status, Representation) - Constructor for class org.restlet.ext.json.JsonpRepresentation
Constructor.
JsonRepresentation - Class in org.restlet.ext.json
Representation based on a JSON document.
JsonRepresentation(JSONArray) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON array.
JsonRepresentation(JSONObject) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON object.
JsonRepresentation(JSONStringer) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON stringer.
JsonRepresentation(JSONTokener) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON tokener.
JsonRepresentation(Map<String, Object>) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a map object.
JsonRepresentation(Object) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a bean using reflection to generate JSON names.
JsonRepresentation(Representation) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor.
JsonRepresentation(String) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON string.

O

org.restlet.ext.json - package org.restlet.ext.json
Support for JSON representations.

S

score(Object, Variant, Resource) - Method in class org.restlet.ext.json.JsonConverter
 
score(Representation, Class<T>, Resource) - Method in class org.restlet.ext.json.JsonConverter
 
setIndenting(boolean) - Method in class org.restlet.ext.json.JsonRepresentation
Indicates if JSON objects and arrays should be indented.
setIndentingSize(int) - Method in class org.restlet.ext.json.JsonRepresentation
Sets the number of spaces to use for indentation.

T

toObject(Representation, Class<T>, Resource) - Method in class org.restlet.ext.json.JsonConverter
 
toRepresentation(Object, Variant, Resource) - Method in class org.restlet.ext.json.JsonConverter
 

U

updatePreferences(List<Preference<MediaType>>, Class<T>) - Method in class org.restlet.ext.json.JsonConverter
 

W

write(Writer) - Method in class org.restlet.ext.json.JsonpRepresentation
 
write(Writer) - Method in class org.restlet.ext.json.JsonRepresentation
 
A G I J O S T U W 

Copyright © 2005-2015 Restlet.