public final class Cache extends BodyTagImpl
Constructor and Description |
---|
Cache() |
Modifier and Type | Method and Description |
---|---|
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) |
setBodyContent
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Cache()
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 setExpressionException
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 setApplicationException
public void setUsername(String username)
username
- value to setpublic void setPassword(String password)
password
- value to setpublic 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 setCachename(String cachename)
public void setThrowonerror(boolean throwOnError)
throwOnError
- the throwOnError to setpublic void setIdletime(TimeSpan idletime)
idletime
- the idletime to setpublic void setMetadata(String metadata)
metadata
- the metadata to setCopyright © 2015 Lucee