org.apache.struts2.url

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `decode(String input)` Decodes the input using default encoding, e.g.: struts.i18n.encoding
    `String` | `decode(String input, boolean isQueryString)` Decodes the input using default encoding, e.g.: struts.i18n.encoding
    `String` | `decode(String input, String encoding, boolean isQueryString)` Decodes the input using default encoding, e.g.: struts.i18n.encoding

- - ### Method Detail

    - #### 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

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.