Class ForUriComponentTag

java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.owasp.encoder.tag.EncodingTag
org.owasp.encoder.tag.ForUriComponentTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class ForUriComponentTag extends EncodingTag
A tag that performs percent-encoding for a component of a URI, such as a query parameter name or value, path, or query-string. This wraps the Encode.forUriComponent(java.lang.String).
Author:
Jeremy Long (jeremy.long@gmail.com)
  • Constructor Details

    • ForUriComponentTag

      public ForUriComponentTag()
  • Method Details

    • doTag

      public void doTag() throws javax.servlet.jsp.JspException, IOException
      Specified by:
      doTag in interface javax.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      javax.servlet.jsp.JspException
      IOException