Class ExtendedCacheControl

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

public class ExtendedCacheControl extends javax.ws.rs.core.CacheControl
Adds support for the public directive which is not supported by CacheControl for some reason.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    boolean
     
    void
    setPublic(boolean _public)
     

    Methods inherited from class javax.ws.rs.core.CacheControl

    getCacheExtension, getMaxAge, getNoCacheFields, getPrivateFields, getSMaxAge, isMustRevalidate, isNoCache, isNoStore, isNoTransform, isPrivate, isProxyRevalidate, setMaxAge, setMustRevalidate, setNoCache, setNoStore, setNoTransform, setPrivate, setProxyRevalidate, setSMaxAge, toString, valueOf

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _public

      private boolean _public
  • Constructor Details

    • ExtendedCacheControl

      public ExtendedCacheControl()
  • Method Details

    • isPublic

      public boolean isPublic()
    • setPublic

      public void setPublic(boolean _public)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class javax.ws.rs.core.CacheControl
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class javax.ws.rs.core.CacheControl