Class RequestPartsIterator
- java.lang.Object
-
- org.apache.sling.engine.impl.parameters.RequestPartsIterator
-
-
Constructor Summary
Constructors Constructor Description RequestPartsIterator(javax.servlet.http.HttpServletRequest servletRequest)
Create and initialse the iterator using the request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
javax.servlet.http.Part
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
RequestPartsIterator
public RequestPartsIterator(javax.servlet.http.HttpServletRequest servletRequest) throws IOException, org.apache.commons.fileupload.FileUploadException
Create and initialse the iterator using the request. The request must be fresh. Headers can have been read but the stream must not have been parsed.- Parameters:
servletRequest
- the request- Throws:
IOException
- when there is a problem reading the request.org.apache.commons.fileupload.FileUploadException
- when there is a problem parsing the request.
-
-