org.jboss.portal.portlet.impl.jsr168.api
Class ClientDataRequestImpl

java.lang.Object
  extended by org.jboss.portal.portlet.impl.jsr168.api.PortletRequestImpl
      extended by org.jboss.portal.portlet.impl.jsr168.api.ClientDataRequestImpl
All Implemented Interfaces:
javax.portlet.ClientDataRequest, PortletRequest
Direct Known Subclasses:
ActionRequestImpl, ResourceRequestImpl

public abstract class ClientDataRequestImpl
extends PortletRequestImpl
implements javax.portlet.ClientDataRequest

Version:
$Revision: 630 $
Author:
Julien Viet

Field Summary
protected  RequestContext requestContext
          .
 
Fields inherited from class org.jboss.portal.portlet.impl.jsr168.api.PortletRequestImpl
attributes, clientContext, container, invocation, log, navigationInfo, portalContext, preferences, psession, requestParameterMap, securityContext, serverContext, sessionStatus, supportedModes, supportedWindowStates, userContext, windowContext
 
Fields inherited from interface javax.portlet.PortletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO
 
Constructor Summary
ClientDataRequestImpl(PortletContainerImpl container, ActionInvocation invocation)
           
ClientDataRequestImpl(PortletContainerImpl container, ResourceInvocation invocation)
           
 
Method Summary
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.lang.String getMethod()
           
 java.io.InputStream getPortletInputStream()
           
 java.io.BufferedReader getReader()
           
 void setCharacterEncoding(java.lang.String s)
           
 
Methods inherited from class org.jboss.portal.portlet.impl.jsr168.api.PortletRequestImpl
getAttribute, getAttributeNames, getAttributes, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRealRequest, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, initProperties, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 

Field Detail

requestContext

protected final RequestContext requestContext
.

Constructor Detail

ClientDataRequestImpl

public ClientDataRequestImpl(PortletContainerImpl container,
                             ActionInvocation invocation)

ClientDataRequestImpl

public ClientDataRequestImpl(PortletContainerImpl container,
                             ResourceInvocation invocation)
Method Detail

getPortletInputStream

public java.io.InputStream getPortletInputStream()
                                          throws java.io.IOException
Specified by:
getPortletInputStream in interface javax.portlet.ClientDataRequest
Throws:
java.io.IOException

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.UnsupportedEncodingException,
                                        java.io.IOException
Specified by:
getReader in interface javax.portlet.ClientDataRequest
Throws:
java.io.UnsupportedEncodingException
java.io.IOException

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface javax.portlet.ClientDataRequest

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.portlet.ClientDataRequest

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface javax.portlet.ClientDataRequest

setCharacterEncoding

public void setCharacterEncoding(java.lang.String s)
                          throws java.io.UnsupportedEncodingException
Specified by:
setCharacterEncoding in interface javax.portlet.ClientDataRequest
Throws:
java.io.UnsupportedEncodingException

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface javax.portlet.ClientDataRequest


Copyright © 2008. All Rights Reserved.