org.apache.myfaces.tobago.webapp
Class TobagoMultipartFormdataRequest

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataRequest
All Implemented Interfaces:
HttpServletRequest, ServletRequest

public class TobagoMultipartFormdataRequest
extends HttpServletRequestWrapper


Field Summary
static long ONE_GB
           
static long ONE_KB
           
static long ONE_MB
           
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
TobagoMultipartFormdataRequest(HttpServletRequest request)
           
TobagoMultipartFormdataRequest(HttpServletRequest request, String repositoryPath, long maxSize)
           
 
Method Summary
 FileItem getFileItem(String key)
           
static long getMaxSize(String param)
           
 String getParameter(String key)
           
 Map getParameterMap()
           
 Enumeration getParameterNames()
           
 String[] getParameterValues(String key)
           
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Field Detail

ONE_KB

public static final long ONE_KB
See Also:
Constant Field Values

ONE_MB

public static final long ONE_MB
See Also:
Constant Field Values

ONE_GB

public static final long ONE_GB
See Also:
Constant Field Values
Constructor Detail

TobagoMultipartFormdataRequest

public TobagoMultipartFormdataRequest(HttpServletRequest request)

TobagoMultipartFormdataRequest

public TobagoMultipartFormdataRequest(HttpServletRequest request,
                                      String repositoryPath,
                                      long maxSize)
Method Detail

getFileItem

public FileItem getFileItem(String key)

getParameter

public String getParameter(String key)
Specified by:
getParameter in interface ServletRequest
Overrides:
getParameter in class ServletRequestWrapper

getParameterNames

public Enumeration getParameterNames()
Specified by:
getParameterNames in interface ServletRequest
Overrides:
getParameterNames in class ServletRequestWrapper

getParameterValues

public String[] getParameterValues(String key)
Specified by:
getParameterValues in interface ServletRequest
Overrides:
getParameterValues in class ServletRequestWrapper

getParameterMap

public Map getParameterMap()
Specified by:
getParameterMap in interface ServletRequest
Overrides:
getParameterMap in class ServletRequestWrapper

getMaxSize

public static long getMaxSize(String param)


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