public class EncodeForURLTag extends BaseEncodeTag
Constructor and Description |
---|
EncodeForURLTag() |
Modifier and Type | Method and Description |
---|---|
protected String |
encode(String content,
Encoder enc)
Encode tag's content for usage in a URL.
|
doAfterBody
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected String encode(String content, Encoder enc) throws javax.servlet.jsp.JspTagException
encode
in class BaseEncodeTag
content
- The tag's content as a Stringenc
- Encoder used to call
Encoder.encodeForURL(String)
EncodingException
- if Encoder.encodeForURL(String)
does.javax.servlet.jsp.JspTagException
Copyright © 2022 The Open Web Application Security Project (OWASP). All rights reserved.