org.apache.wicket.extensions.ajax.markup.html.form.upload
Class UploadWebRequest

java.lang.Object
  extended by org.apache.wicket.Request
      extended by org.apache.wicket.protocol.http.WebRequest
          extended by org.apache.wicket.protocol.http.servlet.ServletWebRequest
              extended by 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 req)
          Constructor
 
Method Summary
 WebRequest newMultipartWebRequest(Bytes maxsize)
          Create a runtime context type specific (e.g.
 
Methods inherited from class org.apache.wicket.protocol.http.servlet.ServletWebRequest
getDepthRelativeToWicketHandler, getHttpServletRequest, getLocale, getParameter, getParameterMap, getParameters, getPath, getRelativePathPrefixToContextRoot, getRelativePathPrefixToWicketHandler, getServletPath, getURL, isAjax, mergeVersion, setWicketRedirectUrl, toString
 
Methods inherited from class org.apache.wicket.protocol.http.WebRequest
getCookie, getCookies
 
Methods inherited from class org.apache.wicket.Request
decodeURL, getPage, getRelativeURL, getRequestParameters, setPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UploadWebRequest

public UploadWebRequest(javax.servlet.http.HttpServletRequest req)
Constructor

Parameters:
req -
Method Detail

newMultipartWebRequest

public WebRequest newMultipartWebRequest(Bytes maxsize)
Description copied from class: WebRequest
Create a runtime context type specific (e.g. Servlet or Portlet) MultipartWebRequest wrapper for handling multipart content uploads.

Overrides:
newMultipartWebRequest in class ServletWebRequest
Parameters:
maxsize - the maximum size this request may be
Returns:
new WebRequest wrapper implementing MultipartWebRequest
See Also:
WebRequest.newMultipartWebRequest(org.apache.wicket.util.lang.Bytes)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.