Class ParamSupport.ParamManager
java.lang.Object
org.apache.taglibs.standard.tag.common.core.ParamSupport.ParamManager
- Enclosing class:
ParamSupport
Provides support for aggregating query parameters in URLs.
Specifically, accepts a series of parameters, ensuring that
- newer parameters will precede older ones in the output URL
- all supplied parameters precede those in the input URL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(String name, String value) Adds a new parameter to the list.aggregateParams(String url) Produces a new URL with the stored parameters, in the appropriate order.
-
Constructor Details
-
ParamManager
public ParamManager()
-
-
Method Details
-
addParameter
Adds a new parameter to the list. -
aggregateParams
Produces a new URL with the stored parameters, in the appropriate order.
-