Package org.jboss.resteasy.core

## 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.
  Author:
    Jozef Hartinger
  See Also:
    RFC-2616 Section 14

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExtendedCacheControl()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object obj)` |
    `int` | `hashCode()` |
    `boolean` | `isPublic()` |
    `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`

- - ### Constructor Detail

    - #### ExtendedCacheControl

          public ExtendedCacheControl()

  - ### Method Detail

    - #### 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`