|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientDataRequest
The ClientDataRequest represents the request information
of the HTTP request issued from the client to the portal.
It extends the PortletRequest interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest |
---|
PortletRequest.P3PUserInfos |
Field Summary |
---|
Fields inherited from interface javax.portlet.PortletRequest |
---|
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO |
Method Summary | |
---|---|
java.lang.String | getCharacterEncoding()
Returns the name of the character encoding used in the body of this request. |
int | getContentLength()
Returns the length, in bytes, of the request body which is made available by the input stream, or -1 if the length is not known. |
java.lang.String | getContentType()
Returns the MIME type of the body of the request, or null if the type is not known. |
java.lang.String | getMethod()
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT. |
java.io.InputStream | getPortletInputStream()
Retrieves the body of the HTTP request from client to portal as binary data using an InputStream. |
java.io.BufferedReader | getReader()
Retrieves the body of the HTTP request from the client to the portal as character data using a BufferedReader. |
void | setCharacterEncoding(java.lang.String enc)
Overrides the name of the character encoding used in the body of this request. |
Methods inherited from interface javax.portlet.PortletRequest |
---|
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, javax.portlet.PortletMode)">isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, javax.portlet.WindowState)">isWindowStateAllowed, removeAttribute, setAttribute |
Method Detail |
---|
java.io.InputStream getPortletInputStream() throws java.io.IOException
For HTTP POST data of type application/x-www-form-urlencoded this method throws an IllegalStateException as this data has been already processed by the portal/portlet-container and is available as request parameters.
void setCharacterEncoding(java.lang.String enc) throws java.io.UnsupportedEncodingException
This method only sets the character set for the Reader that the getReader() method returns.
java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException, java.io.IOException
For HTTP POST data of type application/x-www-form-urlencoded this method throws an IllegalStateException as this data has been already processed by the portal/portlet-container and is available as request parameters.
java.lang.String getCharacterEncoding()
java.lang.String getContentType()
int getContentLength()
java.lang.String getMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |