SlingHttpServletRequest
defines the interface to provide client request information to a servlet. Request Parameters Generally request parameters are transmitted as part of the URL string such as GET /some/path?param=value
or as request data of content type application/x-www-form-urlencoded or multipart/form-data. The Sling Framework must decode parameters transferred as request data and make them available through the various parameter accessor methods. Generally parameters transferred as multipart/form-data will be accessed by one of the methods returning {@link RequestParameter} instances.
In any case, the {@link #getReader()} and {@link #getInputStream()} methodswill throw an IllegalStateException
if called after any methods returning request parameters if the request content type is either application/x-www-form-urlencoded or multipart/form-data because the request data has already been processed.
Starting with Sling API 2.0.6, this interface als extends the {@link Adaptable} interface.
|
|
|
|
|
|