|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portlet.multipart.MultipartActionRequest
public class MultipartActionRequest
Portlet action request wrapper for multipart parser.
Field Summary |
---|
Fields inherited from interface javax.portlet.PortletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO |
Constructor Summary | |
---|---|
MultipartActionRequest(javax.portlet.ActionRequest request,
Hashtable values)
Create this wrapper around the given request and including the given parts. |
Method Summary | |
---|---|
void |
cleanup()
Cleanup eventually uploaded parts that were saved on disk |
Object |
get(String name)
Method get |
Object |
getAttribute(String name)
Method getAttribute |
Enumeration |
getAttributeNames()
Method getAttributeNames |
String |
getAuthType()
Method getAuthType |
String |
getCharacterEncoding()
Method getCharacterEncoding |
int |
getContentLength()
Method getContentLength |
String |
getContentType()
Method getContentType |
String |
getContextPath()
Method getContextPath |
InputStream |
getInputStream()
Method getInputStream |
Locale |
getLocale()
Method getLocale |
Enumeration |
getLocales()
Method getLocales |
String |
getParameter(String name)
Method getParameter |
Map |
getParameterMap()
|
Enumeration |
getParameterNames()
Method getParameterNames |
String[] |
getParameterValues(String name)
Method getParameterValues |
javax.portlet.PortalContext |
getPortalContext()
|
InputStream |
getPortletInputStream()
|
javax.portlet.PortletMode |
getPortletMode()
|
javax.portlet.PortletSession |
getPortletSession()
Method getSession |
javax.portlet.PortletSession |
getPortletSession(boolean create)
Method getSession |
javax.portlet.PortletPreferences |
getPreferences()
|
Enumeration |
getProperties(String name)
|
String |
getProperty(String name)
|
Enumeration |
getPropertyNames()
|
BufferedReader |
getReader()
Method getReader |
String |
getRemoteUser()
Method getRemoteUser |
String |
getRequestedSessionId()
Method getRequestedSessionId |
String |
getResponseContentType()
|
Enumeration |
getResponseContentTypes()
|
String |
getScheme()
Method getScheme |
String |
getServerName()
Method getServerName |
int |
getServerPort()
Method getServerPort |
Principal |
getUserPrincipal()
Method getUserPrincipal |
javax.portlet.WindowState |
getWindowState()
|
boolean |
isPortletModeAllowed(javax.portlet.PortletMode mode)
|
boolean |
isRequestedSessionIdValid()
Method isRequestedSessionIdValid |
boolean |
isSecure()
Method isSecure |
boolean |
isUserInRole(String role)
Method isUserInRole |
boolean |
isWindowStateAllowed(javax.portlet.WindowState state)
|
void |
removeAttribute(String name)
Method removeAttribute |
void |
setAttribute(String name,
Object o)
Method setAttribute |
void |
setCharacterEncoding(String enc)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipartActionRequest(javax.portlet.ActionRequest request, Hashtable values)
Method Detail |
---|
public void cleanup() throws IOException
IOException
public Object get(String name)
name
- public Enumeration getParameterNames()
getParameterNames
in interface javax.portlet.PortletRequest
public String getParameter(String name)
getParameter
in interface javax.portlet.PortletRequest
name
- public String[] getParameterValues(String name)
getParameterValues
in interface javax.portlet.PortletRequest
name
- public Object getAttribute(String name)
getAttribute
in interface javax.portlet.PortletRequest
name
- public Enumeration getAttributeNames()
getAttributeNames
in interface javax.portlet.PortletRequest
public String getCharacterEncoding()
getCharacterEncoding
in interface javax.portlet.ActionRequest
public int getContentLength()
getContentLength
in interface javax.portlet.ActionRequest
public String getContentType()
getContentType
in interface javax.portlet.ActionRequest
public InputStream getInputStream() throws IOException
IOException
public String getScheme()
getScheme
in interface javax.portlet.PortletRequest
public String getServerName()
getServerName
in interface javax.portlet.PortletRequest
public int getServerPort()
getServerPort
in interface javax.portlet.PortletRequest
public BufferedReader getReader() throws IOException
getReader
in interface javax.portlet.ActionRequest
IOException
public void setAttribute(String name, Object o)
setAttribute
in interface javax.portlet.PortletRequest
name
- o
- public void removeAttribute(String name)
removeAttribute
in interface javax.portlet.PortletRequest
name
- public Locale getLocale()
getLocale
in interface javax.portlet.PortletRequest
public Enumeration getLocales()
getLocales
in interface javax.portlet.PortletRequest
public boolean isSecure()
isSecure
in interface javax.portlet.PortletRequest
public String getAuthType()
getAuthType
in interface javax.portlet.PortletRequest
public String getContextPath()
getContextPath
in interface javax.portlet.PortletRequest
public String getRemoteUser()
getRemoteUser
in interface javax.portlet.PortletRequest
public boolean isUserInRole(String role)
isUserInRole
in interface javax.portlet.PortletRequest
role
- public Principal getUserPrincipal()
getUserPrincipal
in interface javax.portlet.PortletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface javax.portlet.PortletRequest
public javax.portlet.PortletSession getPortletSession(boolean create)
getPortletSession
in interface javax.portlet.PortletRequest
create
- public javax.portlet.PortletSession getPortletSession()
getPortletSession
in interface javax.portlet.PortletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface javax.portlet.PortletRequest
public InputStream getPortletInputStream() throws IOException
getPortletInputStream
in interface javax.portlet.ActionRequest
IOException
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException
setCharacterEncoding
in interface javax.portlet.ActionRequest
UnsupportedEncodingException
public Map getParameterMap()
getParameterMap
in interface javax.portlet.PortletRequest
public javax.portlet.PortalContext getPortalContext()
getPortalContext
in interface javax.portlet.PortletRequest
public javax.portlet.PortletMode getPortletMode()
getPortletMode
in interface javax.portlet.PortletRequest
public javax.portlet.PortletPreferences getPreferences()
getPreferences
in interface javax.portlet.PortletRequest
public Enumeration getProperties(String name)
getProperties
in interface javax.portlet.PortletRequest
public String getProperty(String name)
getProperty
in interface javax.portlet.PortletRequest
public Enumeration getPropertyNames()
getPropertyNames
in interface javax.portlet.PortletRequest
public String getResponseContentType()
getResponseContentType
in interface javax.portlet.PortletRequest
public Enumeration getResponseContentTypes()
getResponseContentTypes
in interface javax.portlet.PortletRequest
public javax.portlet.WindowState getWindowState()
getWindowState
in interface javax.portlet.PortletRequest
public boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
isPortletModeAllowed
in interface javax.portlet.PortletRequest
public boolean isWindowStateAllowed(javax.portlet.WindowState state)
isWindowStateAllowed
in interface javax.portlet.PortletRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |