Set the name when instantiating a MockRequestParameter

When using the MockSlingHttpServletRequest#setParameterMap then calling SlingHttpServletRequest#getRequestParameterList the name in each of the RequestParameter values is null...
1 file changed
tree: 714204fef7c7c67b025b3c41782b9e4dd87530e6
  1. src/
  2. .gitignore
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

Build Status Test Status Maven Central JavaDocs License

Apache Sling Servlet Helpers

This module is part of the Apache Sling project.

Mock implementations of SlingHttpServletRequest, SlingHttpServletRepsonse and related classes.

These are used by sling-mock, but can be used standalone and deployed to an OSGi container as well.