Package org.jboss.resteasy.core
Class ExtendedCacheControl
java.lang.Object
jakarta.ws.rs.core.CacheControl
org.jboss.resteasy.core.ExtendedCacheControl
Adds support for the public directive which is not supported by
CacheControl for some reason.- Author:
- Jozef Hartinger
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.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
-
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:CacheControlGenerate hash code from cache control properties.- Overrides:
hashCodein classCacheControl- Returns:
- the hashCode
-
equals
Description copied from class:CacheControlCompares object argument to this cache control to see if they are the same considering all property values.- Overrides:
equalsin classCacheControl- Parameters:
obj- the object to compare to- Returns:
- true if the two cache controls are the same, false otherwise.
-