org.apache.myfaces.tobago.internal.webapp
Class TobagoMultipartFormdataRequest

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

public class TobagoMultipartFormdataRequest
extends javax.servlet.http.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(javax.servlet.http.HttpServletRequest request)
           
TobagoMultipartFormdataRequest(javax.servlet.http.HttpServletRequest request, String repositoryPath, long maxSize)
           
 
Method Summary
 org.apache.commons.fileupload.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(javax.servlet.http.HttpServletRequest request)

TobagoMultipartFormdataRequest

public TobagoMultipartFormdataRequest(javax.servlet.http.HttpServletRequest request,
                                      String repositoryPath,
                                      long maxSize)
Method Detail

getFileItem

public org.apache.commons.fileupload.FileItem getFileItem(String key)

getParameter

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

getParameterNames

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

getParameterValues

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

getParameterMap

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

getMaxSize

public static long getMaxSize(String param)


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.