Package lumis.portal.servicecontainer
Class ServiceContainerActionRequest
- java.lang.Object
-
- javax.servlet.ServletRequestWrapper
-
- javax.servlet.http.HttpServletRequestWrapper
-
- lumis.portal.url.PageWebResourceRequest
-
- lumis.portal.servicecontainer.ServiceContainerRequest
-
- lumis.portal.servicecontainer.ServiceContainerActionRequest
-
- All Implemented Interfaces:
javax.portlet.ActionRequest
,javax.portlet.ClientDataRequest
,javax.portlet.PortletRequest
,javax.servlet.http.HttpServletRequest
,javax.servlet.ServletRequest
,IServiceInterfaceActionRequest
,IServiceInterfaceRequest
,IServiceInterfaceRequestSPI
,IPageWebResourceRequest
public class ServiceContainerActionRequest extends ServiceContainerRequest implements IServiceInterfaceActionRequest
- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from class lumis.portal.servicecontainer.ServiceContainerRequest
baseServiceInterfaceInstanceConfig, businessContext, callerServiceInterfaceInstanceId, isPreview, pageConfig, preferences, serviceConfig, serviceContainerHttpServletRequest, serviceInstanceConfig, serviceInstanceDebugLevel, serviceInterfaceConfig, serviceInterfaceInstanceConfig, serviceInterfaceInstanceId, sessionConfig
-
Fields inherited from class lumis.portal.url.PageWebResourceRequest
mode
-
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Fields inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRequest
DEBUG_LEVEL_HIGH, DEBUG_LEVEL_LOW, DEBUG_LEVEL_MEDIUM, DEBUG_LEVEL_NONE
-
-
Constructor Summary
Constructors Constructor Description ServiceContainerActionRequest(SessionConfig sessionConfig, PortalRequestParameters parameters, javax.servlet.http.HttpServletRequest httpServletRequest, ReplaceInterfacesStorage replaceInterfacesStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.servlet.ServletInputStream
getInputStream()
java.io.InputStream
getPortletInputStream()
java.io.BufferedReader
getReader()
java.lang.String
getServiceInterfaceInstanceId()
void
setInputStream(java.io.InputStream inputStream)
Sets the input stream for this request.-
Methods inherited from class lumis.portal.servicecontainer.ServiceContainerRequest
createFunctionMapper, getAttribute, getAttributeNames, getBaseServiceInterfaceInstanceConfig, getCallerServiceInterfaceInstanceId, getCallerServiceInterfaceInstancePreferences, getCallerServiceInterfaceMenuLevel, getFileParameter, getFunctionMapper, getLocale, getLocales, getMode, getPageConfig, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getReplaceInterfacesStorage, getRequestDispatcher, getResponseContentType, getResponseContentTypes, getServiceConfig, getServiceContainerHttpServletRequest, getServiceInstanceConfig, getServiceInstanceDebugLevel, getServiceInterfaceConfig, getServiceInterfaceInstanceConfig, getUserPrincipal, getVariableResolver, getWindowID, getWindowState, isPortletModeAllowed, isPreview, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setBaseServiceInterfaceInstanceConfig, setCallerServiceInterfaceInstanceId, setCharacterEncoding, setMode, setPageWebResource, setPreview, setResponse, setServiceConfig, setServiceInstanceConfig, setServiceInstanceDebugLevel, setServiceInterfaceConfig, setServiceInterfaceInstanceConfig, setServiceInterfaceInstanceFileParameters, setServiceInterfaceInstanceParameters, setSessionConfig
-
Methods inherited from class lumis.portal.url.PageWebResourceRequest
getApplicationRequestedPath, getBusinessContext, getCookie, getPageWebResource, getPortalMode, getSessionConfig, getWebsiteBaseURL, isPageCachedInFile
-
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, login, logout
-
Methods inherited from class javax.servlet.ServletRequestWrapper
getAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getLocalAddr, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, setRequest, startAsync, startAsync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.portlet.ClientDataRequest
getCharacterEncoding, getContentLength, getContentType, getMethod, setCharacterEncoding
-
Methods inherited from interface lumis.portal.url.IPageWebResourceRequest
getApplicationRequestedPath, getAttribute, getContextPath, getCookies, getParameter, getParameterValues, getPortalMode, getScheme, getServerName, getServerPort, isPageCachedInFile, isSecure, removeAttribute, setAttribute
-
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRequest
getAttributeNames, getBusinessContext, getCallerServiceInterfaceInstanceId, getCallerServiceInterfaceInstancePreferences, getCallerServiceInterfaceMenuLevel, getCookie, getCookies, getFileParameter, getHeader, getMode, getPageConfig, getPageWebResource, getParameterMap, getParameterNames, getPreferences, getRequestDispatcher, getServiceConfig, getServiceInstanceConfig, getServiceInstanceDebugLevel, getServiceInterfaceConfig, getServiceInterfaceInstanceConfig, getSessionConfig, getWebsiteBaseURL, isPreview, setMode, setSessionConfig
-
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRequestSPI
getHttpServletRequest
-
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, 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
getAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getLocalAddr, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, startAsync, startAsync
-
-
-
-
Constructor Detail
-
ServiceContainerActionRequest
public ServiceContainerActionRequest(SessionConfig sessionConfig, PortalRequestParameters parameters, javax.servlet.http.HttpServletRequest httpServletRequest, ReplaceInterfacesStorage replaceInterfacesStorage) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
getServiceInterfaceInstanceId
public java.lang.String getServiceInterfaceInstanceId()
- Specified by:
getServiceInterfaceInstanceId
in interfaceIServiceInterfaceRequest
- Overrides:
getServiceInterfaceInstanceId
in classServiceContainerRequest
- Returns:
- Returns the serviceInterfaceInstanceId.
-
setInputStream
public void setInputStream(java.io.InputStream inputStream)
Sets the input stream for this request. It's content will also be used forgetReader()
.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 java.io.BufferedReader getReader() throws java.io.IOException
- Specified by:
getReader
in interfacejavax.portlet.ClientDataRequest
- Specified by:
getReader
in interfacejavax.servlet.ServletRequest
- Overrides:
getReader
in classjavax.servlet.ServletRequestWrapper
- Throws:
java.io.IOException
-
getInputStream
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStream
in interfacejavax.servlet.ServletRequest
- Overrides:
getInputStream
in classjavax.servlet.ServletRequestWrapper
- Throws:
java.io.IOException
-
getPortletInputStream
public java.io.InputStream getPortletInputStream() throws java.io.IOException
- Specified by:
getPortletInputStream
in interfacejavax.portlet.ClientDataRequest
- Throws:
java.io.IOException
-
-