Example usage for com.google.gwt.user.client.rpc.impl Serializer deserialize

List of usage examples for com.google.gwt.user.client.rpc.impl Serializer deserialize

Introduction

In this page you can find the example usage for com.google.gwt.user.client.rpc.impl Serializer deserialize.

Prototype

void deserialize(SerializationStreamReader stream, Object instance, String typeSignature)
        throws SerializationException;

Source Link

Document

Restore an instantiated object from the serialized stream.

Usage

From source file:fr.putnami.pwt.core.service.client.CommandServiceCompositeSerializer.java

License:Open Source License

@Override
public void deserialize(SerializationStreamReader stream, Object instance, String typeSignature)
        throws SerializationException {
    for (Serializer serializer : this.serializers) {
        try {//from   w w  w .  ja  va 2  s . c o  m
            serializer.deserialize(stream, instance, typeSignature);
            return;
        } catch (SerializationException e) {
            continue;
        }
    }
    throw new SerializationException(typeSignature);
}