lumis.portal.servicecontainer
Class ServiceContainerActionRequest

Package class diagram package ServiceContainerActionRequest
java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by lumis.portal.servicecontainer.ServiceContainerRequest
              extended by lumis.portal.servicecontainer.ServiceContainerActionRequest
All Implemented Interfaces:
ActionRequest, ClientDataRequest, PortletRequest, HttpServletRequest, ServletRequest, IServiceInterfaceActionRequest, IServiceInterfaceRequest

public class ServiceContainerActionRequest
extends ServiceContainerRequest
implements IServiceInterfaceActionRequest

Since:
4.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
PortletRequest.P3PUserInfos
 
Field Summary
 
Fields inherited from class lumis.portal.servicecontainer.ServiceContainerRequest
callerServiceInterfaceInstanceId, isPreview, mode, pageConfig, preferences, serviceConfig, serviceContainerHttpServletRequest, serviceInstanceConfig, serviceInstanceDebugLevel, serviceInterfaceConfig, serviceInterfaceInstanceConfig, serviceInterfaceInstanceId, sessionConfig
 
Fields inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRequest
DEBUG_LEVEL_HIGH, DEBUG_LEVEL_LOW, DEBUG_LEVEL_MEDIUM, DEBUG_LEVEL_NONE
 
Fields inherited from interface javax.portlet.ActionRequest
ACTION_NAME
 
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
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
ServiceContainerActionRequest(SessionConfig sessionConfig, PortalRequestParameters parameters, HttpServletRequest httpServletRequest)
           
 
Method Summary
 ServletInputStream getInputStream()
           
 InputStream getPortletInputStream()
           
 BufferedReader getReader()
           
 String getServiceInterfaceInstanceId()
           
 void setInputStream(InputStream inputStream)
          Sets the input stream for this request.
 void setServiceInterfaceInstanceId(String serviceInterfaceInstanceId)
           
 
Methods inherited from class lumis.portal.servicecontainer.ServiceContainerRequest
getAttribute, getAttributeNames, getCallerServiceInterfaceInstanceId, getCookie, getCookies, getFileParameter, getLocale, getLocales, getMode, getPageConfig, getPageWebResource, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRequestDispatcher, getResponseContentType, getResponseContentTypes, getServiceConfig, getServiceContainerHttpServletRequest, getServiceInstanceConfig, getServiceInstanceDebugLevel, getServiceInterfaceConfig, getServiceInterfaceInstanceConfig, getSessionConfig, getUserPrincipal, getVariableResolver, getWindowID, getWindowState, isPortletModeAllowed, isPreview, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setCallerServiceInterfaceInstanceId, setCharacterEncoding, setMode, setPageWebResource, setPreview, setServiceConfig, setServiceInstanceConfig, setServiceInstanceDebugLevel, setServiceInterfaceConfig, setServiceInterfaceInstanceConfig, setServiceInterfaceInstanceFileParameters, setServiceInterfaceInstanceParameters, setSessionConfig
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getScheme, getServerName, getServerPort, isSecure, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRequest
getAttributeNames, getCallerServiceInterfaceInstanceId, getCookie, getCookies, getFileParameter, getHeader, getMode, getPageConfig, getParameterMap, getParameterNames, getRequestDispatcher, getServiceConfig, getServiceInstanceConfig, getServiceInstanceDebugLevel, getServiceInterfaceConfig, getServiceInterfaceInstanceConfig, getSessionConfig, isPreview, setMode, setSessionConfig
 
Methods inherited from interface javax.portlet.ClientDataRequest
getCharacterEncoding, getContentLength, getContentType, getMethod, setCharacterEncoding
 
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 
Methods inherited from interface javax.servlet.ServletRequest
getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getScheme, getServerName, getServerPort, isSecure
 

Constructor Detail

ServiceContainerActionRequest

public ServiceContainerActionRequest(SessionConfig sessionConfig,
                                     PortalRequestParameters parameters,
                                     HttpServletRequest httpServletRequest)
                              throws Exception
Throws:
Exception
Method Detail

getServiceInterfaceInstanceId

public String getServiceInterfaceInstanceId()
Specified by:
getServiceInterfaceInstanceId in interface IServiceInterfaceRequest
Overrides:
getServiceInterfaceInstanceId in class ServiceContainerRequest
Returns:
Returns the serviceInterfaceInstanceId.

setServiceInterfaceInstanceId

public void setServiceInterfaceInstanceId(String serviceInterfaceInstanceId)

setInputStream

public void setInputStream(InputStream inputStream)
Sets the input stream for this request. It's content will also be used for getReader().

Note: This request will not close the input stream. It should be closed by the one providing it.

Parameters:
inputStream - the input stream.
Since:
5.5.0

getReader

public BufferedReader getReader()
                         throws IOException
Specified by:
getReader in interface ClientDataRequest
Specified by:
getReader in interface ServletRequest
Overrides:
getReader in class ServletRequestWrapper
Throws:
IOException

getInputStream

public ServletInputStream getInputStream()
                                  throws IOException
Specified by:
getInputStream in interface ServletRequest
Overrides:
getInputStream in class ServletRequestWrapper
Throws:
IOException

getPortletInputStream

public InputStream getPortletInputStream()
                                  throws IOException
Specified by:
getPortletInputStream in interface ClientDataRequest
Throws:
IOException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.