@Deprecated public class ProtectStringAsAttribute extends ProtectBody
Constructor and Description |
---|
ProtectStringAsAttribute()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
Deprecated.
Executes the XSS removal and sets the cleaned HTML to the request attribute as
specified.
|
java.lang.String |
getName()
Deprecated.
Get the name of the attribute where the result is saved to.
|
void |
setName(java.lang.String name)
Deprecated.
Set the name to the attribute where the result is saved to.
|
getContext, getPolicy, setContext, setPolicy
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Attribute namepublic int doAfterBody() throws JspException
doAfterBody
in class ProtectBody
JspException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"