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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The version from the original Netscape specification.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Defines if the version is set.
  • Field Details

    • NETSCAPE_VERSION

      static final int NETSCAPE_VERSION
      The version from the original Netscape specification.
      See Also:
  • Method Details

    • hasVersion

      boolean hasVersion()
      Defines if the version is set.
      Returns:
      true when the version is set.