@Deprecated public class ProtectBody extends BodyTagSupport
The policy to be used may be specified using the policy attribute.
EVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ProtectBody()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody()
Deprecated.
Executes the XSS removal.
|
String |
getContext()
Deprecated.
Get the protection context.
|
String |
getPolicy()
Deprecated.
Get the path to the policy to be used.
|
void |
setContext(String context)
Deprecated.
Set the protection context.
|
void |
setPolicy(String policy)
Deprecated.
Set the path to the policy to be used.
|
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic String getPolicy()
null, if the default policy has to
be usedpublic void setPolicy(String policy)
policy - Path to policy file to use; null, if the default policy
has to be usedpublic String getContext()
public void setContext(String context)
context - The protection contextpublic int doAfterBody()
throws JspException
doAfterBody in interface IterationTagdoAfterBody in class BodyTagSupportJspException - if an error occurred while processing this tagBodyTagSupport.doInitBody(),
IterationTag.doAfterBody()Copyright © 2010 - 2020 Adobe. All Rights Reserved