|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
IOExceptionpublic Object get(String name)
name - public Enumeration getParameterNames()
getParameterNames in interface javax.portlet.PortletRequestpublic String getParameter(String name)
getParameter in interface javax.portlet.PortletRequestname - public String[] getParameterValues(String name)
getParameterValues in interface javax.portlet.PortletRequestname - public Object getAttribute(String name)
getAttribute in interface javax.portlet.PortletRequestname - public Enumeration getAttributeNames()
getAttributeNames in interface javax.portlet.PortletRequestpublic String getCharacterEncoding()
getCharacterEncoding in interface javax.portlet.ActionRequestpublic int getContentLength()
getContentLength in interface javax.portlet.ActionRequestpublic String getContentType()
getContentType in interface javax.portlet.ActionRequest
public InputStream getInputStream()
throws IOException
IOExceptionpublic String getScheme()
getScheme in interface javax.portlet.PortletRequestpublic String getServerName()
getServerName in interface javax.portlet.PortletRequestpublic int getServerPort()
getServerPort in interface javax.portlet.PortletRequest
public BufferedReader getReader()
throws IOException
getReader in interface javax.portlet.ActionRequestIOException
public void setAttribute(String name,
Object o)
setAttribute in interface javax.portlet.PortletRequestname - o - public void removeAttribute(String name)
removeAttribute in interface javax.portlet.PortletRequestname - public Locale getLocale()
getLocale in interface javax.portlet.PortletRequestpublic Enumeration getLocales()
getLocales in interface javax.portlet.PortletRequestpublic boolean isSecure()
isSecure in interface javax.portlet.PortletRequestpublic String getAuthType()
getAuthType in interface javax.portlet.PortletRequestpublic String getContextPath()
getContextPath in interface javax.portlet.PortletRequestpublic String getRemoteUser()
getRemoteUser in interface javax.portlet.PortletRequestpublic boolean isUserInRole(String role)
isUserInRole in interface javax.portlet.PortletRequestrole - public Principal getUserPrincipal()
getUserPrincipal in interface javax.portlet.PortletRequestpublic String getRequestedSessionId()
getRequestedSessionId in interface javax.portlet.PortletRequestpublic javax.portlet.PortletSession getPortletSession(boolean create)
getPortletSession in interface javax.portlet.PortletRequestcreate - public javax.portlet.PortletSession getPortletSession()
getPortletSession in interface javax.portlet.PortletRequestpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface javax.portlet.PortletRequest
public InputStream getPortletInputStream()
throws IOException
getPortletInputStream in interface javax.portlet.ActionRequestIOException
public void setCharacterEncoding(String enc)
throws UnsupportedEncodingException
setCharacterEncoding in interface javax.portlet.ActionRequestUnsupportedEncodingExceptionpublic Map getParameterMap()
getParameterMap in interface javax.portlet.PortletRequestpublic javax.portlet.PortalContext getPortalContext()
getPortalContext in interface javax.portlet.PortletRequestpublic javax.portlet.PortletMode getPortletMode()
getPortletMode in interface javax.portlet.PortletRequestpublic javax.portlet.PortletPreferences getPreferences()
getPreferences in interface javax.portlet.PortletRequestpublic Enumeration getProperties(String name)
getProperties in interface javax.portlet.PortletRequestpublic String getProperty(String name)
getProperty in interface javax.portlet.PortletRequestpublic Enumeration getPropertyNames()
getPropertyNames in interface javax.portlet.PortletRequestpublic String getResponseContentType()
getResponseContentType in interface javax.portlet.PortletRequestpublic Enumeration getResponseContentTypes()
getResponseContentTypes in interface javax.portlet.PortletRequestpublic javax.portlet.WindowState getWindowState()
getWindowState in interface javax.portlet.PortletRequestpublic boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
isPortletModeAllowed in interface javax.portlet.PortletRequestpublic 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 | |||||||||