[
https://issues.apache.org/jira/browse/SLING-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906850#comment-13906850
]
Felix Meschberger commented on SLING-3403:
------------------------------------------
Defined new API in Rev. 1570135:
* RequestParameter.getName(): the name of the request parameter
* SlingHttpServletRequest.getRequestParameterList(): List of request parameters
in HTTP request order
* Adapt SlingHttpServletRequestWrapper and increase API version
Implementation of the new API in Rev. 1570136 plus:
* Ensure deployment on Servlet API 2 and 3 containers
* Support Servlet API 3 ServletContext API
* Fully parse request parameters for uniform encoding support
> Improve Parameter Support
> -------------------------
>
> Key: SLING-3403
> URL: https://issues.apache.org/jira/browse/SLING-3403
> Project: Sling
> Issue Type: Improvement
> Components: API, Engine
> Affects Versions: Engine 2.2.10, API 2.5.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Engine 2.2.12, API 2.5.2
>
>
> As discussed on the dev list [1], Sling's request parameter support should be
> extended and improved:
> * Provide list of request parameters in the order specified in the request
> (the Servlet API does not define the order and servlet containers may or may
> not respect the order in the parameter map; but there is no official API to
> get the list of request parameters in the actual order as defined on the
> request)
> * Support Servlet API 3.0 style multipart/form-data requests
> * Make sure request parameters are uniformely supported on all servlet
> conainers with respect to character encoding and size restrictions.
> As a corollary to Servlet API 3 support for request parameters, we might also
> want to extend the ServletContext API to implement the Servlet API 3 methods
> (even though, most will just throw)
> [1] http://sling.markmail.org/thread/ysz5sxpb6wkuelzd
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)