org.cruxframework.crux.core.server.rest.core.dispatch
Class CacheInfo

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.core.dispatch.CacheInfo

public class CacheInfo
extends Object

Author:
Thiago da Rosa de Bustamante

Method Summary
 long defineExpires()
           
 long defineExpires(long current)
           
 GET.CacheControl getCacheControl()
           
 int getCacheTime()
           
 boolean isCacheEnabled()
           
 boolean isMustRevalidate()
           
 boolean isNoTransform()
           
 boolean isProxyRevalidate()
           
static CacheInfo parseCacheInfo(GET get)
           
 void setCacheControl(GET.CacheControl cacheControl)
           
 void setCacheTime(int cacheTime)
           
 void setMustRevalidate(boolean mustRevalidate)
           
 void setNoTransform(boolean noTransform)
           
 void setProxyRevalidate(boolean proxyRevalidate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCacheTime

public int getCacheTime()

setCacheTime

public void setCacheTime(int cacheTime)

getCacheControl

public GET.CacheControl getCacheControl()

setCacheControl

public void setCacheControl(GET.CacheControl cacheControl)

defineExpires

public long defineExpires()

defineExpires

public long defineExpires(long current)

isCacheEnabled

public boolean isCacheEnabled()

isNoTransform

public boolean isNoTransform()

setNoTransform

public void setNoTransform(boolean noTransform)

isMustRevalidate

public boolean isMustRevalidate()

setMustRevalidate

public void setMustRevalidate(boolean mustRevalidate)

isProxyRevalidate

public boolean isProxyRevalidate()

setProxyRevalidate

public void setProxyRevalidate(boolean proxyRevalidate)

parseCacheInfo

public static CacheInfo parseCacheInfo(GET get)


Copyright © 2015. All rights reserved.