org.apache.struts2.url

## Class StrutsQueryStringBuilder

- java.lang.Object
- - org.apache.struts2.url.StrutsQueryStringBuilder

- All Implemented Interfaces:
    Serializable, QueryStringBuilder

      public class StrutsQueryStringBuilder
      extends Object
      implements QueryStringBuilder

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrutsQueryStringBuilder(UrlEncoder encoder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `build(Map<String,Object> params, StringBuilder link, String paramSeparator)` Builds a Query String with defined separator and appends it to the provided link

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StrutsQueryStringBuilder

          public StrutsQueryStringBuilder(UrlEncoder encoder)

  - ### Method Detail

    - #### build

          public void build(Map<String,Object> params,
                            StringBuilder link,
                            String paramSeparator)

      Description copied from interface: `QueryStringBuilder`
      Builds a Query String with defined separator and appends it to the provided link
      Specified by:
        `build` in interface `QueryStringBuilder`
      Parameters:
        `params` - a Map used to build a Query String
        `link` - to which the Query String should be added
        `paramSeparator` - used to separate parameters in query string

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