Java – how to exclude object properties in GWT from serialization?
•
Java
Is there any way to exclude the original and object properties in serializable objects from GWT serialization?
public class Provider implements Serializable{
public Provider() {
}
//Id like to exclude this property:
private String password;
//
private String address1;
private String address2;
private String companyName;
private String phone;
}
Solution
I think you're looking for @ gwttransient
Reference: @ gwttransient
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码
