RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

org.jboss.resteasy.core
Class ExtendedCacheControl

java.lang.Object
  extended by javax.ws.rs.core.CacheControl
      extended by 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:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1

Constructor Summary
ExtendedCacheControl()
           
 
Method Summary
 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

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.