List of usage examples for com.google.gwt.user.client.rpc.impl Serializer instantiate
Object instantiate(SerializationStreamReader stream, String typeSignature) throws SerializationException;
From source file:fr.putnami.pwt.core.service.client.CommandServiceCompositeSerializer.java
License:Open Source License
@Override public Object instantiate(SerializationStreamReader stream, String typeSignature) throws SerializationException { for (Serializer serializer : this.serializers) { try {/*from www.j a v a 2 s .c o m*/ Object o = serializer.instantiate(stream, typeSignature); if (o != null) { return o; } } catch (SerializationException e) { continue; } } throw new SerializationException(typeSignature); }