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:
ActionRequest
,ClientDataRequest
,PortletRequest
,HttpServletRequest
,ServletRequest
,IServiceInterfaceActionRequest
,IServiceInterfaceRequest
,IServiceInterfaceRequestSPI
,IPageWebResourceRequest
public class ServiceContainerActionRequest extends ServiceContainerRequest implements IServiceInterfaceActionRequest
- Since:
- 4.0.0
- Version:
- $Revision: 20172 $ $Date: 2017-05-17 13:28:09 -0300 (Wed, 17 May 2017) $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
PortletRequest.P3PUserInfos
-
-
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.portlet.ActionRequest
ACTION_NAME
-
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
-
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
-
-
Constructor Summary
Constructors Constructor Description ServiceContainerActionRequest(SessionConfig sessionConfig, PortalRequestParameters parameters, HttpServletRequest httpServletRequest, ReplaceInterfacesStorage replaceInterfacesStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServletInputStream
getInputStream()
InputStream
getPortletInputStream()
BufferedReader
getReader()
String
getServiceInterfaceInstanceId()
void
setInputStream(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, HttpServletRequest httpServletRequest, ReplaceInterfacesStorage replaceInterfacesStorage) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getServiceInterfaceInstanceId
public String getServiceInterfaceInstanceId()
- Specified by:
getServiceInterfaceInstanceId
in interfaceIServiceInterfaceRequest
- Overrides:
getServiceInterfaceInstanceId
in classServiceContainerRequest
- Returns:
- Returns the serviceInterfaceInstanceId.
-
setInputStream
public void setInputStream(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 BufferedReader getReader() throws IOException
- Specified by:
getReader
in interfaceClientDataRequest
- Specified by:
getReader
in interfaceServletRequest
- Overrides:
getReader
in classServletRequestWrapper
- Throws:
IOException
-
getInputStream
public ServletInputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceServletRequest
- Overrides:
getInputStream
in classServletRequestWrapper
- Throws:
IOException
-
getPortletInputStream
public InputStream getPortletInputStream() throws IOException
- Specified by:
getPortletInputStream
in interfaceClientDataRequest
- Throws:
IOException
-
-