Interface UrlDecoder

All Superinterfaces:
Serializable
All Known Implementing Classes:
StrutsUrlDecoder

public interface UrlDecoder extends Serializable
URL Decoder used internally by Struts
Since:
Struts 6.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(String input)
    Decodes the input using default encoding, e.g.: struts.i18n.encoding
    decode(String input, boolean isQueryString)
    Decodes the input using default encoding, e.g.: struts.i18n.encoding
    decode(String input, String encoding, boolean isQueryString)
    Decodes the input using default encoding, e.g.: struts.i18n.encoding
  • Method Details

    • decode

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

      String decode(String input, boolean isQueryString)
      Decodes the input using default encoding, e.g.: struts.i18n.encoding
      Parameters:
      input - String to decode
      isQueryString - indicates if input is a query string
      Returns:
      the decoded string
    • decode

      String decode(String input)
      Decodes the input using default encoding, e.g.: struts.i18n.encoding
      Parameters:
      input - String to decode
      Returns:
      the decoded string