org.apache.struts2.url

## Interface QueryStringParser

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    StrutsQueryStringParser

      public interface QueryStringParser
      extends Serializable

  Used to parse Http Query String into a map of parameters with support for fragment
  Since:
    Struts 6.1.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `QueryStringParser.Result` Represents result of parsing query string by implementation of `QueryStringParser`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryStringParser.Result` | `empty()` Return an empty `QueryStringParser.Result`
    `QueryStringParser.Result` | `parse(String queryString)`
    `Map<String,Object>` | `parse(String queryString, boolean forceValueArray)` Deprecated. since Struts 6.2.0, use `parse(String)` instead

- - ### Method Detail

    - #### parse

          @Deprecated
          Map<String,Object> parse(String queryString,
                                               boolean forceValueArray)

      Deprecated. since Struts 6.2.0, use `parse(String)` instead

    - #### parse

          QueryStringParser.Result parse(String queryString)

      Parameters:
        `queryString` - a query string to parse
      Returns:
        a `QueryStringParser.Result` of parsing the query string
      Since:
        Struts 6.2.0

    - #### empty

          QueryStringParser.Result empty()

      Return an empty `QueryStringParser.Result`
      Returns:
        empty result

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