@SerialTypes({ MyType1.class, MyType2.class })public static abstract class MyCometSerializer extends CometSerializer {} CometSerializer serializer = GWT.create(MyCometSerializer.class); serializer.parse(...);
Where MyType1 and MyType2 are the types that your expecting to receive from the server.
@author Richard Zschech
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|