org.springframework.web.multipart.cos
Class CosMultipartHttpServletRequest

java.lang.Object
  extended byjavax.servlet.ServletRequestWrapper
      extended byjavax.servlet.http.HttpServletRequestWrapper
          extended byorg.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
              extended byorg.springframework.web.multipart.cos.CosMultipartHttpServletRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, MultipartHttpServletRequest, javax.servlet.ServletRequest

public class CosMultipartHttpServletRequest
extends AbstractMultipartHttpServletRequest

MultipartHttpServletRequest implementation for Jason Hunter's COS. Wraps a COS MultipartRequest with Spring MultipartFile instances.

Not intended for direct application usage. Application code can cast to this implementation to access the underlying COS MultipartRequest, if it ever needs to.

Since:
06.10.2003
Author:
Juergen Hoeller
See Also:
CosMultipartResolver, MultipartRequest

Field Summary
 
Fields inherited from class org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
logger
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
protected CosMultipartHttpServletRequest(javax.servlet.http.HttpServletRequest originalRequest, com.oreilly.servlet.MultipartRequest multipartRequest)
           
 
Method Summary
 com.oreilly.servlet.MultipartRequest getMultipartRequest()
          Return the underlying com.oreilly.servlet.MultipartRequest instance.
 java.lang.String getParameter(java.lang.String name)
           
 java.util.Map getParameterMap()
           
 java.util.Enumeration getParameterNames()
           
 java.lang.String[] getParameterValues(java.lang.String name)
           
protected  java.util.Map initFileMap(com.oreilly.servlet.MultipartRequest multipartRequest)
           
 
Methods inherited from class org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
getFile, getFileMap, getFileNames, setMultipartFiles
 
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, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, 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.http.HttpServletRequest
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 interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

CosMultipartHttpServletRequest

protected CosMultipartHttpServletRequest(javax.servlet.http.HttpServletRequest originalRequest,
                                         com.oreilly.servlet.MultipartRequest multipartRequest)
Method Detail

getMultipartRequest

public com.oreilly.servlet.MultipartRequest getMultipartRequest()
Return the underlying com.oreilly.servlet.MultipartRequest instance. There is hardly any need to access this.


initFileMap

protected java.util.Map initFileMap(com.oreilly.servlet.MultipartRequest multipartRequest)

getParameterNames

public java.util.Enumeration getParameterNames()

getParameter

public java.lang.String getParameter(java.lang.String name)

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String name)

getParameterMap

public java.util.Map getParameterMap()


Copyright (C) 2003-2004 The Spring Framework Project.