Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */
 package it.grabz.grabzit;
 
This class represents the cookies stored in GrabzIt

Author(s):
GrabzIt
Version:
2.0
@XmlRootElement(name = "Cookie")
public class Cookie {
    @XmlElement(name="Name")
    private String name;
    @XmlElement(name="Value")
    private String value;
    @XmlElement(name="Domain")
    private String domain;
    @XmlElement(name="Path")
    private String path;
    @XmlElement(name="HttpOnly")
    private Boolean httpOnly;
    @XmlElement(name="Expires")
    private String expires;
    @XmlElement(name="Type")
    private String type;   

    

Returns:
the name of the cookie
    public String getName() {
        return ;
    }

    

Returns:
the value of the cookie
    public String getValue() {
        return ;
    }

    

Returns:
the domain of the cookie
    public String getDomain() {
        return ;
    }

    

Returns:
the path of the cookie
    public String getPath() {
        return ;
    }

    

Returns:
is the cookie httponly
    public Boolean getHttpOnly() {
        return ;
    }

    

Returns:
the date and time the cookie expires
    public String getExpires() {
        return ;
    }

    

Returns:
the type of cookie
    public String getType() {
        return ;
    }
New to GrepCode? Check out our FAQ X