org.apache.wicket.extensions.ajax.markup.html.form.upload
Class UploadWebRequest
java.lang.Object
org.apache.wicket.request.Request
org.apache.wicket.request.http.WebRequest
org.apache.wicket.protocol.http.servlet.ServletWebRequest
org.apache.wicket.extensions.ajax.markup.html.form.upload.UploadWebRequest
public class UploadWebRequest
- extends ServletWebRequest
A request object that stores information about the current upload in session so it is accessible
to the UploadProgressBar
.
This request object is necessary for the UploadProgressBar to function properly. It is installed
like so:
class MyApplication extends WebApplication {
...
- Author:
- Igor Vaynberg (ivaynberg)
Constructor Summary |
UploadWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
String filterPrefix)
Construct. |
UploadWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
String filterPrefix,
Url url)
Construct. |
Methods inherited from class org.apache.wicket.protocol.http.servlet.ServletWebRequest |
cloneWithUrl, generatePostParameters, getCharset, getClientUrl, getContainerRequest, getContextPath, getCookies, getDateHeader, getFilterPath, getFilterPrefix, getHeader, getHeaders, getLocale, getPostParameters, getPrefixToContextPath, getUrl, newMultipartWebRequest, shouldPreserveClientUrl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UploadWebRequest
public UploadWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
String filterPrefix)
- Construct.
- Parameters:
httpServletRequest
- filterPrefix
-
UploadWebRequest
public UploadWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
String filterPrefix,
Url url)
- Construct.
- Parameters:
httpServletRequest
- filterPrefix
- url
-
newMultipartWebRequest
public MultipartServletWebRequest newMultipartWebRequest(Bytes maxsize)
throws FileUploadException
- Description copied from class:
ServletWebRequest
- Creates multipart web request from this request.
- Overrides:
newMultipartWebRequest
in class ServletWebRequest
- Returns:
- multipart request
- Throws:
FileUploadException
- See Also:
ServletWebRequest.newMultipartWebRequest(org.apache.wicket.util.lang.Bytes)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.