Package org.jboss.resteasy.core
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 byCacheControlfor 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 booleanequals(Object obj)Compares object argument to this cache control to see if they are the same considering all property values.inthashCode()Generate hash code from cache control properties.booleanisPublic()voidsetPublic(boolean _public)-
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
-
-
-
-
Method Detail
-
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
public boolean equals(Object obj)
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.
-
-