Class ExtendedCacheControl

java.lang.Object
jakarta.ws.rs.core.CacheControl
org.jboss.resteasy.core.ExtendedCacheControl

public class ExtendedCacheControl extends CacheControl
Adds support for the public directive which is not supported by CacheControl for some reason.
Author:
Jozef Hartinger
See Also:
  • Constructor Details

    • ExtendedCacheControl

      public ExtendedCacheControl()
  • Method Details

    • isPublic

      public boolean isPublic()
    • setPublic

      public void setPublic(boolean _public)
    • hashCode

      public int hashCode()
      Description copied from class: CacheControl
      Generate hash code from cache control properties.
      Overrides:
      hashCode in class CacheControl
      Returns:
      the hashCode
    • equals

      public boolean equals(Object obj)
      Description copied from class: CacheControl
      Compares object argument to this cache control to see if they are the same considering all property values.
      Overrides:
      equals in class CacheControl
      Parameters:
      obj - the object to compare to
      Returns:
      true if the two cache controls are the same, false otherwise.