Class StrutsUrlDecoder

java.lang.Object
org.apache.struts2.url.StrutsUrlDecoder
All Implemented Interfaces:
Serializable, UrlDecoder

public class StrutsUrlDecoder extends Object implements UrlDecoder
See Also:
  • Constructor Details

    • StrutsUrlDecoder

      public StrutsUrlDecoder()
  • Method Details

    • setEncoding

      public void setEncoding(String encoding)
    • decode

      public String decode(String input, String encoding, boolean isQueryString)
      Description copied from interface: UrlDecoder
      Decodes the input using default encoding, e.g.: struts.i18n.encoding
      Specified by:
      decode in interface UrlDecoder
      Parameters:
      input - String to decode
      encoding - encoding used in decoding
      isQueryString - indicates if input is a query string
      Returns:
      the decoded string
    • decode

      public String decode(String input, boolean isQueryString)
      Description copied from interface: UrlDecoder
      Decodes the input using default encoding, e.g.: struts.i18n.encoding
      Specified by:
      decode in interface UrlDecoder
      Parameters:
      input - String to decode
      isQueryString - indicates if input is a query string
      Returns:
      the decoded string
    • decode

      public String decode(String input)
      Description copied from interface: UrlDecoder
      Decodes the input using default encoding, e.g.: struts.i18n.encoding
      Specified by:
      decode in interface UrlDecoder
      Parameters:
      input - String to decode
      Returns:
      the decoded string