Package org.cometd.common
Class JettyJSONContext<M extends org.cometd.bayeux.Message.Mutable>
java.lang.Object
org.cometd.common.JettyJSONContext<M>
- Direct Known Subclasses:
JettyJSONContextClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected static classprotected class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.util.ajax.AsyncJSON.Factoryorg.eclipse.jetty.util.ajax.JSONgetJSON()protected abstract MnewRoot()protected abstract M[]newRootArray(int size) M[]M[]voidputConvertor(String className, org.eclipse.jetty.util.ajax.JSON.Convertor convertor)
-
Constructor Details
-
JettyJSONContext
protected JettyJSONContext()
-
-
Method Details
-
getJSON
public org.eclipse.jetty.util.ajax.JSON getJSON() -
getAsyncJSONFactory
public org.eclipse.jetty.util.ajax.AsyncJSON.Factory getAsyncJSONFactory() -
newRoot
-
newRootArray
-
parse
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
newAsyncParser
-
generate
-
generate
-
getParser
-
getGenerator
-
putConvertor
-