Package org.glassfish.jersey.http
Class JerseyNewCookie
java.lang.Object
jakarta.ws.rs.core.Cookie
jakarta.ws.rs.core.NewCookie
org.glassfish.jersey.http.JerseyNewCookie
- All Implemented Interfaces:
VersionOptional
Jersey subclass of
NewCookie bearing information about optional version.
Complies with RFC 6265.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class building the Jersey NewCookie subclass.Nested classes/interfaces inherited from class jakarta.ws.rs.core.NewCookie
NewCookie.AbstractNewCookieBuilder<T extends NewCookie.AbstractNewCookieBuilder<T>>, NewCookie.SameSiteNested classes/interfaces inherited from class jakarta.ws.rs.core.Cookie
Cookie.AbstractCookieBuilder<T extends Cookie.AbstractCookieBuilder<T>> -
Field Summary
Fields inherited from class jakarta.ws.rs.core.NewCookie
DEFAULT_MAX_AGEFields inherited from class jakarta.ws.rs.core.Cookie
DEFAULT_VERSIONFields inherited from interface org.glassfish.jersey.http.VersionOptional
NETSCAPE_VERSION -
Method Summary
Methods inherited from class jakarta.ws.rs.core.NewCookie
equals, getComment, getExpiry, getMaxAge, getSameSite, hashCode, isHttpOnly, isSecure, toCookie, toString, valueOf
-
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.
-