Class JerseyCookie
java.lang.Object
jakarta.ws.rs.core.Cookie
org.glassfish.jersey.http.JerseyCookie
- All Implemented Interfaces:
VersionOptional
Jersey subclass of
Cookie bearing information about optional version.
Complies with RFC 6265.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for building Cookie.Nested classes/interfaces inherited from class Cookie
Cookie.AbstractCookieBuilder<T> -
Field Summary
Fields inherited from class Cookie
DEFAULT_VERSIONFields inherited from interface VersionOptional
NETSCAPE_VERSION -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanDefines if the version is set.
-
Method Details
-
hasVersion
public boolean hasVersion()Description copied from interface:VersionOptionalDefines if the version is set.- Specified by:
hasVersionin interfaceVersionOptional- Returns:
truewhen the version is set.
-
equals
-