Class CookieElement
- java.lang.Object
-
- org.jivesoftware.smackx.urldata.http.element.NameValuePairElement
-
- org.jivesoftware.smackx.urldata.http.element.CookieElement
-
- All Implemented Interfaces:
Element
,NamedElement
,MetaInformationElement
public class CookieElement extends NameValuePairElement
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_COMMENT
static String
ATTR_DOMAIN
static String
ATTR_MAX_AGE
static String
ATTR_PATH
static String
ATTR_SECURE
static String
ATTR_VERSION
static String
ELEMENT
static String
PREFIX
-
Fields inherited from class org.jivesoftware.smackx.urldata.http.element.NameValuePairElement
ATTR_NAME, ATTR_VALUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getComment()
String
getDomain()
String
getElementName()
Returns the root element name.int
getMaxAge()
String
getPath()
String
getVersion()
int
hashCode()
boolean
isSecure()
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
Methods inherited from class org.jivesoftware.smackx.urldata.http.element.NameValuePairElement
addCommonXml, getName, getValue
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
ATTR_DOMAIN
public static final String ATTR_DOMAIN
- See Also:
- Constant Field Values
-
ATTR_MAX_AGE
public static final String ATTR_MAX_AGE
- See Also:
- Constant Field Values
-
ATTR_PATH
public static final String ATTR_PATH
- See Also:
- Constant Field Values
-
ATTR_COMMENT
public static final String ATTR_COMMENT
- See Also:
- Constant Field Values
-
ATTR_VERSION
public static final String ATTR_VERSION
- See Also:
- Constant Field Values
-
ATTR_SECURE
public static final String ATTR_SECURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaxAge
public int getMaxAge()
-
getComment
public String getComment()
-
getVersion
public String getVersion()
-
isSecure
public boolean isSecure()
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
-