if (is.read() == COMPRESSED_FLAG) {
is = new GZIPInputStream(is);
}
ObjectInputStream in = new MyFacesObjectInputStream(
is);
return new SerializedView(in.readObject(), in.readObject());
}
catch (IOException e) {
log.error("Exiting deserializeView - Could not deserialize state: " + e.getMessage(), e);
return null;
}