Code example for Cookie

Methods: getDomain, getName, getValue

0
 
    } 
 
    public ShareableCookie(Cookie cookie) {
 
        this.name = cookie.getName();
        this.value = cookie.getValue();
        this.domain = cookie.getDomain();
 
    } 
 
    public ShareableCookie(Parcel in) {
 
        this.name = in.readString();
        this.value = in.readString();
        this.domain = in.readString();
 
    } 
 
    public String getName() {
        return name;