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 StringATTR_COMMENTstatic StringATTR_DOMAINstatic StringATTR_MAX_AGEstatic StringATTR_PATHstatic StringATTR_SECUREstatic StringATTR_VERSIONstatic StringELEMENTstatic StringPREFIX-
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 booleanequals(Object obj)StringgetComment()StringgetDomain()StringgetElementName()Returns the root element name.intgetMaxAge()StringgetPath()StringgetVersion()inthashCode()booleanisSecure()XmlStringBuildertoXML(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:NamedElementReturns the root element name.- Returns:
- the element name.
-
-