public class JacksonJSONContextServer extends JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl> implements JSONContext.Server
Constructor and Description |
---|
JacksonJSONContextServer() |
Modifier and Type | Method and Description |
---|---|
String |
generate(List<T> arg0) |
String |
generate(T arg0) |
JSONContext.Generator |
getGenerator() |
JSONContext.Parser |
getParser() |
T[] |
parse(InputStream arg0) |
T[] |
parse(Reader arg0) |
T[] |
parse(String arg0) |
protected Class<ServerMessageImpl[]> |
rootArrayClass() |
generate, generate, getGenerator, getObjectMapper, getParser, parse, parse, parse
protected Class<ServerMessageImpl[]> rootArrayClass()
rootArrayClass
in class JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
public T[] parse(InputStream arg0) throws ParseException
ParseException
public T[] parse(Reader arg0) throws ParseException
ParseException
public T[] parse(String arg0) throws ParseException
ParseException
public JSONContext.Parser getParser()
public JSONContext.Generator getGenerator()
Copyright © 2008–2016 The CometD Project. All rights reserved.