Index

A C D E F G H I J L N O P R S T _ 
All Classes and Interfaces|All Packages

A

add(Object) - Method in interface org.eclipse.jetty.util.ajax.JSON.Output
 
add(String, boolean) - Method in interface org.eclipse.jetty.util.ajax.JSON.Output
 
add(String, double) - Method in interface org.eclipse.jetty.util.ajax.JSON.Output
 
add(String, long) - Method in interface org.eclipse.jetty.util.ajax.JSON.Output
 
add(String, Object) - Method in interface org.eclipse.jetty.util.ajax.JSON.Output
 
addClass(Class<?>) - Method in interface org.eclipse.jetty.util.ajax.JSON.Output
 
addConvertor(Class<?>, JSON.Convertor) - Method in class org.eclipse.jetty.util.ajax.JSON
Registers a JSON.Convertor for the given class.
addConvertorFor(String, JSON.Convertor) - Method in class org.eclipse.jetty.util.ajax.JSON
Registers a JSON.Convertor for a named class.
addGetter(String, Method) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
addJSON(Appendable) - Method in interface org.eclipse.jetty.util.ajax.JSON.Generator
 
addJSON(Appendable) - Method in class org.eclipse.jetty.util.ajax.JSON.Literal
 
addSetter(String, Method) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
append(Appendable, Object) - Method in class org.eclipse.jetty.util.ajax.JSON
Appends the given object as JSON to string buffer.
appendArray(Appendable, Object) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendArray(Appendable, Collection<?>) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendBoolean(Appendable, Boolean) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendJSON(Appendable, JSON.Convertible) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendJSON(Appendable, JSON.Convertor, Object) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendJSON(Appendable, JSON.Generator) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendMap(Appendable, Map<?, ?>) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendNull(Appendable) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendNumber(Appendable, Number) - Method in class org.eclipse.jetty.util.ajax.JSON
 
appendString(Appendable, String) - Method in class org.eclipse.jetty.util.ajax.JSON
 
AsyncJSON - Class in org.eclipse.jetty.util.ajax
A non-blocking JSON parser that can parse partial JSON strings.
AsyncJSON(AsyncJSON.Factory) - Constructor for class org.eclipse.jetty.util.ajax.AsyncJSON
 
AsyncJSON.Context - Interface in org.eclipse.jetty.util.ajax
The state of JSON parsing.
AsyncJSON.Factory - Class in org.eclipse.jetty.util.ajax
The factory that creates AsyncJSON instances.

C

cache(String) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
 
cached(ByteBuffer) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
Attempts to return a cached string from the buffer bytes.
complete() - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
Signals to the parser that the parse data is complete, and returns the object parsed from the JSON chunks passed to the parse() methods.
complete(String, JSON.Source) - Static method in class org.eclipse.jetty.util.ajax.JSON
 
contextFor(String) - Method in class org.eclipse.jetty.util.ajax.JSON
Every time a JSON object field representation {"name": value} is parsed, this method is called to (possibly) return a different JSON instance (for example configured with different converters) to parse the object field.
contextForArray() - Method in class org.eclipse.jetty.util.ajax.JSON
Every time a JSON array representation [...] is parsed, this method is called to (possibly) return a different JSON instance (for example configured with different converters) to parse the array items.
convertTo(Class<?>, Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSON
 

D

depth() - Method in interface org.eclipse.jetty.util.ajax.AsyncJSON.Context
 

E

escapeString(Appendable, String) - Method in class org.eclipse.jetty.util.ajax.JSON
Escapes the characters of the given input string into the given buffer.
escapeUnicode(Appendable, char) - Method in class org.eclipse.jetty.util.ajax.JSON
Per JSON specification, unicode characters are by default NOT escaped.

F

Factory() - Constructor for class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
 
fromJSON(Reader) - Method in class org.eclipse.jetty.util.ajax.JSON
Parses the JSON from the given Reader into an object.
fromJSON(String) - Method in class org.eclipse.jetty.util.ajax.JSON
Parses the given JSON string into an object.
fromJSON(Map<String, Object>) - Method in interface org.eclipse.jetty.util.ajax.JSON.Convertible
 
fromJSON(Map<String, Object>) - Method in interface org.eclipse.jetty.util.ajax.JSON.Convertor
 
fromJSON(Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSONCollectionConvertor
 
fromJSON(Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSONDateConvertor
 
fromJSON(Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSONEnumConvertor
 
fromJSON(Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSONObjectConvertor
 
fromJSON(Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
fromJSON(Map<String, Object>) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertorFactory
 

G

getActualValue(Number) - Method in interface org.eclipse.jetty.util.ajax.JSONPojoConvertor.NumberType
 
getArrayConverter() - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
 
getArrayConverter() - Method in class org.eclipse.jetty.util.ajax.JSON
 
getComponentType() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
getConvertor(Class<?>) - Method in class org.eclipse.jetty.util.ajax.JSON
Looks up a convertor for a class.
getConvertor(String) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
Returns the JSON.Convertor associated with the given class name, if any.
getConvertorFor(String) - Method in class org.eclipse.jetty.util.ajax.JSON
Looks up a convertor for a class name.
getMethod() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
getNumberType() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
getNumberType(Class<?>) - Static method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
getPropertyName() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
getSetter(String) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
getStringBufferSize() - Method in class org.eclipse.jetty.util.ajax.JSON
 
getType() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 

H

handleUnknown(JSON.Source, char) - Method in class org.eclipse.jetty.util.ajax.JSON
 
hasNext() - Method in class org.eclipse.jetty.util.ajax.JSON.ReaderSource
 
hasNext() - Method in interface org.eclipse.jetty.util.ajax.JSON.Source
 
hasNext() - Method in class org.eclipse.jetty.util.ajax.JSON.StringSource
 

I

includeField(String, Object, Method) - Method in class org.eclipse.jetty.util.ajax.JSONObjectConvertor
 
includeField(String, Method) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
init() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
invoke(Object, Object) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
invokeObject(Object, Object) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
isDetailedParseException() - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
 
isPropertyNumber() - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 

J

JSON - Class in org.eclipse.jetty.util.ajax
JSON parser and generator.
JSON() - Constructor for class org.eclipse.jetty.util.ajax.JSON
 
JSON.Convertible - Interface in org.eclipse.jetty.util.ajax
JSON Convertible object.
JSON.Convertor - Interface in org.eclipse.jetty.util.ajax
JSON Convertor.
JSON.Generator - Interface in org.eclipse.jetty.util.ajax
JSON Generator.
JSON.Literal - Class in org.eclipse.jetty.util.ajax
A Literal JSON generator.
JSON.Output - Interface in org.eclipse.jetty.util.ajax
JSON Output class for use by JSON.Convertible.
JSON.ReaderSource - Class in org.eclipse.jetty.util.ajax
A Reader source for a JSON string.
JSON.Source - Interface in org.eclipse.jetty.util.ajax
A generic source for a JSON representation.
JSON.StringSource - Class in org.eclipse.jetty.util.ajax
An in-memory source for a JSON string.
JSONCollectionConvertor - Class in org.eclipse.jetty.util.ajax
 
JSONCollectionConvertor() - Constructor for class org.eclipse.jetty.util.ajax.JSONCollectionConvertor
 
JSONDateConvertor - Class in org.eclipse.jetty.util.ajax
Convert a Date to JSON.
JSONDateConvertor() - Constructor for class org.eclipse.jetty.util.ajax.JSONDateConvertor
 
JSONDateConvertor(boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONDateConvertor
 
JSONDateConvertor(String, TimeZone, boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONDateConvertor
 
JSONDateConvertor(String, TimeZone, boolean, Locale) - Constructor for class org.eclipse.jetty.util.ajax.JSONDateConvertor
 
JSONEnumConvertor - Class in org.eclipse.jetty.util.ajax
Convert an Enum to JSON.
JSONEnumConvertor() - Constructor for class org.eclipse.jetty.util.ajax.JSONEnumConvertor
 
JSONEnumConvertor(boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONEnumConvertor
 
JSONObjectConvertor - Class in org.eclipse.jetty.util.ajax
Converts an Object to JSON using reflection on getters methods.
JSONObjectConvertor() - Constructor for class org.eclipse.jetty.util.ajax.JSONObjectConvertor
 
JSONObjectConvertor(boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONObjectConvertor
 
JSONObjectConvertor(boolean, String[]) - Constructor for class org.eclipse.jetty.util.ajax.JSONObjectConvertor
 
JSONPojoConvertor - Class in org.eclipse.jetty.util.ajax
Converts POJOs to JSON and vice versa.
JSONPojoConvertor(Class<?>) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
JSONPojoConvertor(Class<?>, boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
JSONPojoConvertor(Class<?>, String[]) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
JSONPojoConvertor(Class<?>, Set<String>) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
JSONPojoConvertor(Class<?>, Set<String>, boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
JSONPojoConvertor.NumberType - Interface in org.eclipse.jetty.util.ajax
 
JSONPojoConvertor.Setter - Class in org.eclipse.jetty.util.ajax
 
JSONPojoConvertorFactory - Class in org.eclipse.jetty.util.ajax
 
JSONPojoConvertorFactory(JSON) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertorFactory
 
JSONPojoConvertorFactory(JSON, boolean) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertorFactory
 

L

Literal(String) - Constructor for class org.eclipse.jetty.util.ajax.JSON.Literal
Constructs a literal JSON instance.

N

newArray(int) - Method in class org.eclipse.jetty.util.ajax.JSON
Deprecated.
newArray(AsyncJSON.Context) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
When a JSON [ is encountered during parsing, this method is called to create a new List instance.
newAsyncJSON() - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
 
newInvalidJSON(ByteBuffer, String) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
 
newMap() - Method in class org.eclipse.jetty.util.ajax.JSON
Factory method that creates a Map when a JSON representation of {...} is parsed.
newObject(AsyncJSON.Context) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
When a JSON { is encountered during parsing, this method is called to create a new Map instance.
next() - Method in class org.eclipse.jetty.util.ajax.JSON.ReaderSource
 
next() - Method in interface org.eclipse.jetty.util.ajax.JSON.Source
 
next() - Method in class org.eclipse.jetty.util.ajax.JSON.StringSource
 

O

org.eclipse.jetty.util.ajax - module org.eclipse.jetty.util.ajax
 
org.eclipse.jetty.util.ajax - package org.eclipse.jetty.util.ajax
Jetty Util : Simple JSON Utility classes

P

parse(byte[]) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
Feeds the parser with the given bytes chunk.
parse(byte[], int, int) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
Feeds the parser with the given bytes chunk.
parse(ByteBuffer) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON
Feeds the parser with the given buffer chunk.
parse(JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
Parses the given JSON source into an object.
parse(JSON.Source, boolean) - Method in class org.eclipse.jetty.util.ajax.JSON
Parses the given JSON source into an object.
parseArray(JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
 
parseNumber(JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
 
parseObject(JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
 
parseString(JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
 
peek() - Method in class org.eclipse.jetty.util.ajax.JSON.ReaderSource
 
peek() - Method in interface org.eclipse.jetty.util.ajax.JSON.Source
 
peek() - Method in class org.eclipse.jetty.util.ajax.JSON.StringSource
 
putConvertor(String, JSON.Convertor) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
Associates the given JSON.Convertor to the given class name.

R

ReaderSource(Reader) - Constructor for class org.eclipse.jetty.util.ajax.JSON.ReaderSource
 
removeConvertor(Class<?>) - Method in class org.eclipse.jetty.util.ajax.JSON
Unregisters a JSON.Convertor for a class.
removeConvertor(String) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
Removes the JSON.Convertor associated with the given class name.
removeConvertorFor(String) - Method in class org.eclipse.jetty.util.ajax.JSON
Unregisters a JSON.Convertor for a named class.

S

scratchBuffer() - Method in class org.eclipse.jetty.util.ajax.JSON.ReaderSource
 
scratchBuffer() - Method in interface org.eclipse.jetty.util.ajax.JSON.Source
 
scratchBuffer() - Method in class org.eclipse.jetty.util.ajax.JSON.StringSource
 
seekTo(char, JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
 
seekTo(String, JSON.Source) - Method in class org.eclipse.jetty.util.ajax.JSON
 
setArrayConverter(Function<List<?>, Object>) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
Sets the function to convert JSON arrays from their default Java representation, a List<Object>, to another Java data structure such as an Object[].
setArrayConverter(Function<List<?>, Object>) - Method in class org.eclipse.jetty.util.ajax.JSON
Sets the function to convert JSON arrays from their default Java representation, a List<Object>, to another Java data structure such as an Object[].
setDetailedParseException(boolean) - Method in class org.eclipse.jetty.util.ajax.AsyncJSON.Factory
 
setReader(Reader) - Method in class org.eclipse.jetty.util.ajax.JSON.ReaderSource
 
setStringBufferSize(int) - Method in class org.eclipse.jetty.util.ajax.JSON
 
Setter(String, Method) - Constructor for class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
StringSource(String) - Constructor for class org.eclipse.jetty.util.ajax.JSON.StringSource
 

T

toJSON(Object) - Method in class org.eclipse.jetty.util.ajax.JSON
Converts any object to JSON.
toJSON(Object, JSON.Output) - Method in interface org.eclipse.jetty.util.ajax.JSON.Convertor
 
toJSON(Object, JSON.Output) - Method in class org.eclipse.jetty.util.ajax.JSONCollectionConvertor
 
toJSON(Object, JSON.Output) - Method in class org.eclipse.jetty.util.ajax.JSONDateConvertor
 
toJSON(Object, JSON.Output) - Method in class org.eclipse.jetty.util.ajax.JSONEnumConvertor
 
toJSON(Object, JSON.Output) - Method in class org.eclipse.jetty.util.ajax.JSONObjectConvertor
 
toJSON(Object, JSON.Output) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
toJSON(Object, JSON.Output) - Method in class org.eclipse.jetty.util.ajax.JSONPojoConvertorFactory
 
toJSON(JSON.Output) - Method in interface org.eclipse.jetty.util.ajax.JSON.Convertible
 
toString() - Method in class org.eclipse.jetty.util.ajax.JSON.Literal
 
toString() - Method in class org.eclipse.jetty.util.ajax.JSON.StringSource
 

_

_componentType - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
_excluded - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
_fromJSON - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
_getters - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
_numberType - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
_pojoClass - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
_propertyName - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
_setter - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
_setters - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor
 
_type - Variable in class org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
 
A C D E F G H I J L N O P R S T _ 
All Classes and Interfaces|All Packages