org.apache.struts2.dispatcher

## Class HttpParameters.Builder

- java.lang.Object
- - org.apache.struts2.dispatcher.HttpParameters.Builder

- Enclosing class:
    HttpParameters

      public static class HttpParameters.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `Builder(Map<String,?> requestParameterMap)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpParameters` | `build()`
    `HttpParameters` | `buildNoNestedWrapping()` Deprecated. since 6.4.0, use `build()` instead
    `HttpParameters.Builder` | `withComparator(Comparator<String> orderedComparator)`
    `HttpParameters.Builder` | `withExtraParams(Map<String,?> params)`
    `HttpParameters.Builder` | `withParent(HttpParameters parentParams)`

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

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

- - ### Constructor Detail

    - #### Builder

          protected Builder(Map<String,?> requestParameterMap)

  - ### Method Detail

    - #### withParent

          public HttpParameters.Builder withParent(HttpParameters parentParams)

    - #### withExtraParams

          public HttpParameters.Builder withExtraParams(Map<String,?> params)

    - #### withComparator

          public HttpParameters.Builder withComparator(Comparator<String> orderedComparator)

    - #### build

          public HttpParameters build()

    - #### buildNoNestedWrapping

          @Deprecated
          public HttpParameters buildNoNestedWrapping()

      Deprecated. since 6.4.0, use `build()` instead
      Alternate Builder method which avoids wrapping any parameters that are already a `Parameter` element within another `Parameter` wrapper.

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