@Deprecated
public class ProtectBody
extends BodyTagSupport
The policy to be used may be specified using the policy attribute.
Constructor and Description |
---|
ProtectBody()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
Deprecated.
Executes the XSS removal.
|
java.lang.String |
getContext()
Deprecated.
Get the protection context.
|
java.lang.String |
getPolicy()
Deprecated.
Get the path to the policy to be used.
|
void |
setContext(java.lang.String context)
Deprecated.
Set the protection context.
|
void |
setPolicy(java.lang.String policy)
Deprecated.
Set the path to the policy to be used.
|
public java.lang.String getPolicy()
null
, if the default policy has to
be usedpublic void setPolicy(java.lang.String policy)
policy
- Path to policy file to use; null
, if the default policy
has to be usedpublic java.lang.String getContext()
public void setContext(java.lang.String context)
context
- The protection contextpublic int doAfterBody() throws JspException
JspException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"