public class HttpCookie extends Object
Constructor and Description |
---|
HttpCookie(String name,
String value) |
HttpCookie(String name,
String value,
int maxAge) |
HttpCookie(String name,
String value,
String domain,
String path) |
HttpCookie(String name,
String value,
String domain,
String path,
int maxAge,
boolean httpOnly,
boolean secure) |
HttpCookie(String name,
String value,
String domain,
String path,
int maxAge,
boolean httpOnly,
boolean secure,
String comment,
int version) |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get the comment.
|
String |
getDomain()
Get the domain.
|
int |
getMaxAge()
Get the maxAge.
|
String |
getName()
Get the name.
|
String |
getPath()
Get the path.
|
String |
getValue()
Get the value.
|
int |
getVersion()
Get the version.
|
boolean |
isHttpOnly()
Get the isHttpOnly.
|
boolean |
isSecure()
Get the secure.
|
public HttpCookie(String name, String value, String domain, String path, int maxAge, boolean httpOnly, boolean secure)
public String getName()
public String getValue()
public String getComment()
public String getDomain()
public int getMaxAge()
public String getPath()
public boolean isSecure()
public int getVersion()
public boolean isHttpOnly()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.