Package com.webmethods.caf.faces.portlet
Class MultipartActionRequestWrapper
java.lang.Object
com.webmethods.caf.faces.portlet.MultipartActionRequestWrapper
- All Implemented Interfaces:
javax.portlet.ActionRequest
,javax.portlet.PortletRequest
@Deprecated
public class MultipartActionRequestWrapper
extends Object
implements javax.portlet.ActionRequest
Deprecated.
Class replaced by Jetty 8+ Request.getPart() and getParts() methods.
Adapts a multipart form POST to the ActionRequest interface.
Stores uploaded files as
FileItem
s
in the MultipartUtils.FILE_ITEMS
request attribute.-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Aggregation of params from multipart body plus params from request url.protected org.apache.commons.fileupload.FileItemFactory
Deprecated.Specified FileItem factory.protected int
Deprecated.Specified max allowed upload size in bytes (negative signals no max size).Deprecated.Params from multipart body.protected javax.portlet.ActionRequest
Deprecated.Super ActionRequest.Fields inherited from interface javax.portlet.PortletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO
-
Constructor Summary
ConstructorsConstructorDescriptionMultipartActionRequestWrapper
(javax.portlet.ActionRequest parent, int maxSize, org.apache.commons.fileupload.FileItemFactory fileItemFactory) Deprecated.New multipart request wrapper. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getParameter
(String name) Deprecated.Deprecated.Deprecated.String[]
getParameterValues
(String name) Deprecated.javax.portlet.PortalContext
Deprecated.Deprecated.javax.portlet.PortletMode
Deprecated.javax.portlet.PortletSession
Deprecated.javax.portlet.PortletSession
getPortletSession
(boolean create) Deprecated.javax.portlet.PortletPreferences
Deprecated.Enumeration<?>
getProperties
(String name) Deprecated.getProperty
(String name) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.javax.portlet.WindowState
Deprecated.boolean
isPortletModeAllowed
(javax.portlet.PortletMode mode) Deprecated.boolean
Deprecated.boolean
isSecure()
Deprecated.boolean
isUserInRole
(String role) Deprecated.boolean
isWindowStateAllowed
(javax.portlet.WindowState state) Deprecated.protected void
Deprecated.Parses request for multipart info.void
removeAttribute
(String name) Deprecated.void
setAttribute
(String name, Object value) Deprecated.void
setCharacterEncoding
(String encoding) Deprecated.
-
Field Details
-
m_multipartParams
Deprecated.Params from multipart body. May be null. -
m_aggregateParams
Deprecated.Aggregation of params from multipart body plus params from request url. May be null. -
m_fileItemFactory
protected org.apache.commons.fileupload.FileItemFactory m_fileItemFactoryDeprecated.Specified FileItem factory. -
m_maxSize
protected int m_maxSizeDeprecated.Specified max allowed upload size in bytes (negative signals no max size). -
m_parent
protected javax.portlet.ActionRequest m_parentDeprecated.Super ActionRequest.
-
-
Constructor Details
-
MultipartActionRequestWrapper
public MultipartActionRequestWrapper(javax.portlet.ActionRequest parent, int maxSize, org.apache.commons.fileupload.FileItemFactory fileItemFactory) Deprecated.New multipart request wrapper.- Parameters:
parent
- Request to wrap.maxSize
- Max upload file size in bytes.fileItemFactory
-FileItem
factory to use.
-
-
Method Details
-
getCharacterEncoding
Deprecated.- Specified by:
getCharacterEncoding
in interfacejavax.portlet.ActionRequest
-
getContentLength
public int getContentLength()Deprecated.- Specified by:
getContentLength
in interfacejavax.portlet.ActionRequest
-
getContentType
Deprecated.- Specified by:
getContentType
in interfacejavax.portlet.ActionRequest
-
getPortletInputStream
Deprecated.- Specified by:
getPortletInputStream
in interfacejavax.portlet.ActionRequest
- Throws:
IOException
-
getReader
Deprecated.- Specified by:
getReader
in interfacejavax.portlet.ActionRequest
- Throws:
UnsupportedEncodingException
IOException
-
setCharacterEncoding
Deprecated.- Specified by:
setCharacterEncoding
in interfacejavax.portlet.ActionRequest
- Throws:
UnsupportedEncodingException
-
getAttribute
Deprecated.- Specified by:
getAttribute
in interfacejavax.portlet.PortletRequest
-
getAttributeNames
Deprecated.- Specified by:
getAttributeNames
in interfacejavax.portlet.PortletRequest
-
getAuthType
Deprecated.- Specified by:
getAuthType
in interfacejavax.portlet.PortletRequest
-
getContextPath
Deprecated.- Specified by:
getContextPath
in interfacejavax.portlet.PortletRequest
-
getLocale
Deprecated.- Specified by:
getLocale
in interfacejavax.portlet.PortletRequest
-
getLocales
Deprecated.- Specified by:
getLocales
in interfacejavax.portlet.PortletRequest
-
getParameter
Deprecated.- Specified by:
getParameter
in interfacejavax.portlet.PortletRequest
-
getParameterMap
Deprecated.- Specified by:
getParameterMap
in interfacejavax.portlet.PortletRequest
-
getParameterNames
Deprecated.- Specified by:
getParameterNames
in interfacejavax.portlet.PortletRequest
-
getParameterValues
Deprecated.- Specified by:
getParameterValues
in interfacejavax.portlet.PortletRequest
-
getPortalContext
public javax.portlet.PortalContext getPortalContext()Deprecated.- Specified by:
getPortalContext
in interfacejavax.portlet.PortletRequest
-
getPortletMode
public javax.portlet.PortletMode getPortletMode()Deprecated.- Specified by:
getPortletMode
in interfacejavax.portlet.PortletRequest
-
getPortletSession
public javax.portlet.PortletSession getPortletSession()Deprecated.- Specified by:
getPortletSession
in interfacejavax.portlet.PortletRequest
-
getPortletSession
public javax.portlet.PortletSession getPortletSession(boolean create) Deprecated.- Specified by:
getPortletSession
in interfacejavax.portlet.PortletRequest
-
getPreferences
public javax.portlet.PortletPreferences getPreferences()Deprecated.- Specified by:
getPreferences
in interfacejavax.portlet.PortletRequest
-
getProperties
Deprecated.- Specified by:
getProperties
in interfacejavax.portlet.PortletRequest
-
getProperty
Deprecated.- Specified by:
getProperty
in interfacejavax.portlet.PortletRequest
-
getPropertyNames
Deprecated.- Specified by:
getPropertyNames
in interfacejavax.portlet.PortletRequest
-
getRemoteUser
Deprecated.- Specified by:
getRemoteUser
in interfacejavax.portlet.PortletRequest
-
getRequestedSessionId
Deprecated.- Specified by:
getRequestedSessionId
in interfacejavax.portlet.PortletRequest
-
getResponseContentType
Deprecated.- Specified by:
getResponseContentType
in interfacejavax.portlet.PortletRequest
-
getResponseContentTypes
Deprecated.- Specified by:
getResponseContentTypes
in interfacejavax.portlet.PortletRequest
-
getScheme
Deprecated.- Specified by:
getScheme
in interfacejavax.portlet.PortletRequest
-
getServerName
Deprecated.- Specified by:
getServerName
in interfacejavax.portlet.PortletRequest
-
getServerPort
public int getServerPort()Deprecated.- Specified by:
getServerPort
in interfacejavax.portlet.PortletRequest
-
getUserPrincipal
Deprecated.- Specified by:
getUserPrincipal
in interfacejavax.portlet.PortletRequest
-
getWindowState
public javax.portlet.WindowState getWindowState()Deprecated.- Specified by:
getWindowState
in interfacejavax.portlet.PortletRequest
-
isPortletModeAllowed
public boolean isPortletModeAllowed(javax.portlet.PortletMode mode) Deprecated.- Specified by:
isPortletModeAllowed
in interfacejavax.portlet.PortletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()Deprecated.- Specified by:
isRequestedSessionIdValid
in interfacejavax.portlet.PortletRequest
-
isSecure
public boolean isSecure()Deprecated.- Specified by:
isSecure
in interfacejavax.portlet.PortletRequest
-
isUserInRole
Deprecated.- Specified by:
isUserInRole
in interfacejavax.portlet.PortletRequest
-
isWindowStateAllowed
public boolean isWindowStateAllowed(javax.portlet.WindowState state) Deprecated.- Specified by:
isWindowStateAllowed
in interfacejavax.portlet.PortletRequest
-
removeAttribute
Deprecated.- Specified by:
removeAttribute
in interfacejavax.portlet.PortletRequest
-
setAttribute
Deprecated.- Specified by:
setAttribute
in interfacejavax.portlet.PortletRequest
-
parseRequest
protected void parseRequest()Deprecated.Parses request for multipart info.
-