public class FlushTag
extends javax.servlet.jsp.tagext.TagSupport
| Constructor and Description |
|---|
FlushTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
doEndTag just resets all the valiables in case the tag is reused
|
int |
doStartTag()
doStartTag is called when the flush tag is encountered.
|
void |
setKey(String key)
This is set a key for the cache element that needs to be cleared
|
void |
setScope(String scope)
Sets the scope of the cache.
|
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - the standard exception thrownpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - the standard exception thrownpublic void setKey(String key)
public void setScope(String scope)
scope - the scope of the cacheIllegalArgumentException - if the specified scope is different
from request, session, and applicationCopyright © 2017. All rights reserved.