|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.tag.Cache
public final class Cache
Speeds up page rendering when dynamic content does not have to be retrieved each time a user accesses the page. To accomplish this, cfcache creates temporary files that contain the static HTML returned from a CFML page. You can use cfcache for simple URLs and URLs that contain URL parameters.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Cache()
|
Method Summary | |
---|---|
int |
doAfterBody()
|
int |
doEndTag()
|
void |
doInitBody()
|
int |
doStartTag()
|
int |
getPort()
|
void |
hasBody(boolean hasBody)
sets if tag has a body or not |
void |
release()
|
void |
set_id(String _id)
|
void |
setAction(String action)
set the value action |
void |
setCachedirectory(String directory)
|
void |
setCachename(String cachename)
|
void |
setDirectory(String directory)
set the value directory |
void |
setExpireurl(String expireurl)
set the value expireurl |
void |
setId(Object id)
|
void |
setIdletime(TimeSpan idletime)
|
void |
setKey(String key)
|
void |
setMetadata(String metadata)
|
void |
setName(String name)
|
void |
setPassword(String password)
set the value password When required for basic authentication, a valid password. |
void |
setPort(double port)
set the value port |
void |
setProtocol(String protocol)
set the value protocol Specifies the protocol used to create pages from cache. |
void |
setThrowonerror(boolean throwOnError)
|
void |
setTimeout(Object obj)
Deprecated. this attribute is deprecated and will ignored in this tag |
void |
setTimespan(TimeSpan timespan)
|
void |
setUsername(String username)
set the value username When required for basic authentication, a valid username. |
void |
setValue(Object value)
|
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl |
---|
setBodyContent |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
public Cache()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setTimeout(Object obj) throws DeprecatedException
obj
-
DeprecatedException
public void setDirectory(String directory) throws ExpressionException
directory
- value to set
ExpressionException
public void setCachedirectory(String directory) throws ExpressionException
ExpressionException
public void setProtocol(String protocol)
protocol
- value to setpublic void setExpireurl(String expireurl)
expireurl
- value to setpublic void setAction(String action) throws ApplicationException
action
- value to set
ApplicationException
public void setUsername(String username)
username
- value to setpublic void setPassword(String password)
password
- value to setpublic void setKey(String key)
public void setPort(double port)
port
- value to setpublic int getPort()
public void setTimespan(TimeSpan timespan)
timespan
- The timespan to set.
PageException
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
public void doInitBody()
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class BodyTagImpl
public int doAfterBody()
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class BodyTagImpl
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
public void hasBody(boolean hasBody)
hasBody
- public void set_id(String _id)
id
- the id to setpublic void setId(Object id)
public void setName(String name)
public void setCachename(String cachename)
public void setThrowonerror(boolean throwOnError)
throwOnError
- the throwOnError to setpublic void setValue(Object value)
public void setIdletime(TimeSpan idletime)
idletime
- the idletime to setpublic void setMetadata(String metadata)
metadata
- the metadata to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |