Package org.glassfish.jersey.http
Interface VersionOptional
- All Known Implementing Classes:
JerseyCookie,JerseyNewCookie
public interface VersionOptional
Provides information about optionality of version in
Cookie and NewCookie.
The version is as follows: 0 - Netscape, 1 - RFC 2109 & 2965, not set RFC 6265.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe version from the original Netscape specification. -
Method Summary
-
Field Details
-
NETSCAPE_VERSION
static final int NETSCAPE_VERSIONThe version from the original Netscape specification.- See Also:
-
-
Method Details
-
hasVersion
boolean hasVersion()Defines if the version is set.- Returns:
truewhen the version is set.
-