|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
lumis.portal.servicecontainer.ServiceContainerRequest
public class ServiceContainerRequest
A IServiceInterfaceRequest
implementation that is used by the service container.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest |
---|
PortletRequest.P3PUserInfos |
Field Summary | |
---|---|
protected java.lang.String |
callerServiceInterfaceInstanceId
|
protected boolean |
isPreview
|
protected int |
mode
|
protected PageConfig |
pageConfig
|
protected PortletPreferences |
preferences
Preferences of the current user for the current service interface instance. |
protected ServiceConfig |
serviceConfig
|
protected ServiceContainerHttpServletRequest |
serviceContainerHttpServletRequest
|
protected ServiceInstanceConfig |
serviceInstanceConfig
|
protected int |
serviceInstanceDebugLevel
|
protected ServiceInterfaceConfig |
serviceInterfaceConfig
|
protected ServiceInterfaceInstanceConfig |
serviceInterfaceInstanceConfig
|
protected java.lang.String |
serviceInterfaceInstanceId
|
protected SessionConfig |
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.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 | |
---|---|
ServiceContainerRequest(SessionConfig sessionConfig,
PortalRequestParameters portalParameters,
javax.servlet.http.HttpServletRequest httpServletRequest)
|
|
ServiceContainerRequest(SessionConfig sessionConfig,
ServiceContainerHttpServletRequest request)
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String key)
|
java.util.Enumeration<java.lang.String> |
getAttributeNames()
Returns an Enumeration containing the names of the
attributes available to this request. |
java.lang.String |
getCallerServiceInterfaceInstanceId()
|
javax.servlet.http.Cookie |
getCookie(java.lang.String cookieName)
|
javax.servlet.http.Cookie[] |
getCookies()
|
FileParameter |
getFileParameter(java.lang.String parameterName)
|
java.util.Locale |
getLocale()
|
java.util.Enumeration<java.util.Locale> |
getLocales()
|
int |
getMode()
|
PageConfig |
getPageConfig()
|
PageWebResource |
getPageWebResource()
Returns the page web resource for this request. |
java.lang.String |
getParameter(java.lang.String name)
|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap()
Returns a Map of the parameters of this request. |
java.util.Enumeration<java.lang.String> |
getParameterNames()
Returns an Enumeration of String objects
containing the names of the parameters contained in this request. |
java.lang.String[] |
getParameterValues(java.lang.String name)
|
PortalContext |
getPortalContext()
|
PortletMode |
getPortletMode()
|
PortletSession |
getPortletSession()
|
PortletSession |
getPortletSession(boolean create)
|
PortletPreferences |
getPreferences()
|
java.util.Map<java.lang.String,java.lang.String[]> |
getPrivateParameterMap()
|
java.util.Enumeration<java.lang.String> |
getProperties(java.lang.String name)
|
java.lang.String |
getProperty(java.lang.String name)
|
java.util.Enumeration<java.lang.String> |
getPropertyNames()
|
java.util.Map<java.lang.String,java.lang.String[]> |
getPublicParameterMap()
|
IServiceInterfaceRequestDispatcher |
getRequestDispatcher(java.lang.String path)
|
java.lang.String |
getResponseContentType()
|
java.util.Enumeration<java.lang.String> |
getResponseContentTypes()
|
ServiceConfig |
getServiceConfig()
|
ServiceContainerHttpServletRequest |
getServiceContainerHttpServletRequest()
|
ServiceInstanceConfig |
getServiceInstanceConfig()
|
int |
getServiceInstanceDebugLevel()
|
ServiceInterfaceConfig |
getServiceInterfaceConfig()
|
ServiceInterfaceInstanceConfig |
getServiceInterfaceInstanceConfig()
|
java.lang.String |
getServiceInterfaceInstanceId()
|
SessionConfig |
getSessionConfig()
|
java.security.Principal |
getUserPrincipal()
|
javax.servlet.jsp.el.VariableResolver |
getVariableResolver()
Returns the variable resolver for this request's implicit objects. |
java.lang.String |
getWindowID()
|
WindowState |
getWindowState()
|
boolean |
isPortletModeAllowed(PortletMode mode)
|
boolean |
isPreview()
|
boolean |
isUserInRole(java.lang.String arg0)
|
boolean |
isWindowStateAllowed(WindowState state)
|
void |
removeAttribute(java.lang.String key)
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
|
void |
setCallerServiceInterfaceInstanceId(java.lang.String callerServiceInterfaceInstanceId)
|
void |
setCharacterEncoding(java.lang.String encoding)
This method does nothing. |
void |
setMode(int mode)
|
void |
setPageWebResource(PageWebResource pageWebResource)
Sets the page web resource for this request. |
void |
setPreview(boolean isPreview)
|
void |
setServiceConfig(ServiceConfig serviceConfig)
|
void |
setServiceInstanceConfig(ServiceInstanceConfig serviceInstanceConfig)
|
void |
setServiceInstanceDebugLevel(int serviceInstanceDebugLevel)
|
void |
setServiceInterfaceConfig(ServiceInterfaceConfig serviceInterfaceConfig)
|
void |
setServiceInterfaceInstanceConfig(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig)
|
void |
setServiceInterfaceInstanceFileParameters(java.util.Map<java.lang.String,FileParameter> parameters)
|
void |
setServiceInterfaceInstanceParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters)
|
void |
setSessionConfig(SessionConfig sessionConfig)
|
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, getInputStream, getLocalAddr, getLocalName, getLocalPort, getProtocol, getReader, 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 |
---|
getHeader |
Methods inherited from interface javax.portlet.PortletRequest |
---|
getAuthType, getContextPath, getRemoteUser, getRequestedSessionId, getScheme, getServerName, getServerPort, isRequestedSessionIdValid, isSecure |
Methods inherited from interface javax.servlet.ServletRequest |
---|
getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getScheme, getServerName, getServerPort, isSecure |
Field Detail |
---|
protected ServiceContainerHttpServletRequest serviceContainerHttpServletRequest
protected java.lang.String serviceInterfaceInstanceId
protected ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig
protected ServiceInterfaceConfig serviceInterfaceConfig
protected ServiceInstanceConfig serviceInstanceConfig
protected java.lang.String callerServiceInterfaceInstanceId
protected ServiceConfig serviceConfig
protected PageConfig pageConfig
protected SessionConfig sessionConfig
protected int serviceInstanceDebugLevel
protected boolean isPreview
protected int mode
protected PortletPreferences preferences
getPreferences()
method.
Constructor Detail |
---|
public ServiceContainerRequest(SessionConfig sessionConfig, ServiceContainerHttpServletRequest request) throws java.lang.Exception
java.lang.Exception
public ServiceContainerRequest(SessionConfig sessionConfig, PortalRequestParameters portalParameters, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void setCharacterEncoding(java.lang.String encoding) throws java.io.UnsupportedEncodingException
setCharacterEncoding
in interface javax.servlet.ServletRequest
setCharacterEncoding
in class javax.servlet.ServletRequestWrapper
java.io.UnsupportedEncodingException
public PortletSession getPortletSession()
getPortletSession
in interface PortletRequest
public PortletSession getPortletSession(boolean create)
getPortletSession
in interface PortletRequest
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface PortletRequest
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
public java.util.Enumeration<java.lang.String> getParameterNames()
IServiceInterfaceRequest
Enumeration
of String
objects
containing the names of the parameters contained in this request. If the
request has no parameters, the method returns an empty
Enumeration
.
Only parameters targeted to the current service interface are returned.
getParameterNames
in interface PortletRequest
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in interface IServiceInterfaceRequest
getParameterNames
in class javax.servlet.ServletRequestWrapper
Enumeration
of String
objects,
each String
containing the name of a request
parameter; or an empty Enumeration
if the request
has no parameters.public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface PortletRequest
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
IServiceInterfaceRequest
Map
of the parameters of this request. Request
parameters are extra information sent with the request. The returned
parameters are "x-www-form-urlencoded" decoded.
The values in the returned Map
are from type String array (
String[]
).
If no parameters exist this method returns an empty Map
.
getParameterMap
in interface PortletRequest
getParameterMap
in interface javax.servlet.ServletRequest
getParameterMap
in interface IServiceInterfaceRequest
getParameterMap
in class javax.servlet.ServletRequestWrapper
Map
containing parameter names as
keys and parameter values as map values, or an empty
Map
if no parameters exist. The keys in the
parameter map are of type String. The values in the parameter map
are of type String array (String[]
).public java.security.Principal getUserPrincipal()
getUserPrincipal
in interface PortletRequest
getUserPrincipal
in interface javax.servlet.http.HttpServletRequest
getUserPrincipal
in class javax.servlet.http.HttpServletRequestWrapper
public boolean isUserInRole(java.lang.String arg0)
isUserInRole
in interface PortletRequest
isUserInRole
in interface javax.servlet.http.HttpServletRequest
isUserInRole
in class javax.servlet.http.HttpServletRequestWrapper
public java.util.Locale getLocale()
getLocale
in interface PortletRequest
getLocale
in interface javax.servlet.ServletRequest
getLocale
in class javax.servlet.ServletRequestWrapper
public java.util.Enumeration<java.util.Locale> getLocales()
getLocales
in interface PortletRequest
getLocales
in interface javax.servlet.ServletRequest
getLocales
in class javax.servlet.ServletRequestWrapper
public java.util.Enumeration<java.lang.String> getAttributeNames()
IServiceInterfaceRequest
Enumeration
containing the names of the
attributes available to this request. This method returns an empty
Enumeration
if the request has no attributes available to
it.
getAttributeNames
in interface PortletRequest
getAttributeNames
in interface javax.servlet.ServletRequest
getAttributeNames
in interface IServiceInterfaceRequest
getAttributeNames
in class javax.servlet.ServletRequestWrapper
Enumeration
of strings containing the names of
the request attributes, or an empty Enumeration
if
the request has no attributes available to it.public java.lang.Object getAttribute(java.lang.String key)
getAttribute
in interface PortletRequest
getAttribute
in interface javax.servlet.ServletRequest
getAttribute
in class javax.servlet.ServletRequestWrapper
public void setAttribute(java.lang.String key, java.lang.Object value)
setAttribute
in interface PortletRequest
setAttribute
in interface javax.servlet.ServletRequest
setAttribute
in class javax.servlet.ServletRequestWrapper
public void removeAttribute(java.lang.String key)
removeAttribute
in interface PortletRequest
removeAttribute
in interface javax.servlet.ServletRequest
removeAttribute
in class javax.servlet.ServletRequestWrapper
public java.lang.String getProperty(java.lang.String name)
getProperty
in interface PortletRequest
public java.util.Enumeration<java.lang.String> getProperties(java.lang.String name)
getProperties
in interface PortletRequest
public java.util.Enumeration<java.lang.String> getPropertyNames()
getPropertyNames
in interface PortletRequest
public PortalContext getPortalContext()
getPortalContext
in interface PortletRequest
public PortletMode getPortletMode()
getPortletMode
in interface PortletRequest
public PortletPreferences getPreferences()
getPreferences
in interface PortletRequest
public java.lang.String getResponseContentType()
getResponseContentType
in interface PortletRequest
public java.util.Enumeration<java.lang.String> getResponseContentTypes()
getResponseContentTypes
in interface PortletRequest
public WindowState getWindowState()
getWindowState
in interface PortletRequest
public boolean isPortletModeAllowed(PortletMode mode)
isPortletModeAllowed
in interface PortletRequest
public boolean isWindowStateAllowed(WindowState state)
isWindowStateAllowed
in interface PortletRequest
public java.lang.String getServiceInterfaceInstanceId()
getServiceInterfaceInstanceId
in interface IServiceInterfaceRequest
public PageConfig getPageConfig()
getPageConfig
in interface IServiceInterfaceRequest
public PageWebResource getPageWebResource()
public void setPageWebResource(PageWebResource pageWebResource)
pageWebResource
- the page web resource.public void setSessionConfig(SessionConfig sessionConfig)
setSessionConfig
in interface IServiceInterfaceRequest
public SessionConfig getSessionConfig()
getSessionConfig
in interface IServiceInterfaceRequest
public void setServiceInterfaceInstanceConfig(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig)
public ServiceInterfaceInstanceConfig getServiceInterfaceInstanceConfig()
getServiceInterfaceInstanceConfig
in interface IServiceInterfaceRequest
public void setServiceInterfaceConfig(ServiceInterfaceConfig serviceInterfaceConfig)
public ServiceInterfaceConfig getServiceInterfaceConfig()
getServiceInterfaceConfig
in interface IServiceInterfaceRequest
public void setServiceInstanceConfig(ServiceInstanceConfig serviceInstanceConfig)
public ServiceInstanceConfig getServiceInstanceConfig()
getServiceInstanceConfig
in interface IServiceInterfaceRequest
public void setServiceConfig(ServiceConfig serviceConfig)
public ServiceConfig getServiceConfig()
getServiceConfig
in interface IServiceInterfaceRequest
public ServiceContainerHttpServletRequest getServiceContainerHttpServletRequest()
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface PortletRequest
getCookies
in interface javax.servlet.http.HttpServletRequest
getCookies
in interface IServiceInterfaceRequest
getCookies
in class javax.servlet.http.HttpServletRequestWrapper
public javax.servlet.http.Cookie getCookie(java.lang.String cookieName)
getCookie
in interface IServiceInterfaceRequest
public IServiceInterfaceRequestDispatcher getRequestDispatcher(java.lang.String path)
getRequestDispatcher
in interface javax.servlet.ServletRequest
getRequestDispatcher
in interface IServiceInterfaceRequest
getRequestDispatcher
in class javax.servlet.ServletRequestWrapper
public void setServiceInstanceDebugLevel(int serviceInstanceDebugLevel)
public int getServiceInstanceDebugLevel()
getServiceInstanceDebugLevel
in interface IServiceInterfaceRequest
public void setServiceInterfaceInstanceParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters) throws java.lang.Exception
java.lang.Exception
public FileParameter getFileParameter(java.lang.String parameterName)
getFileParameter
in interface IServiceInterfaceRequest
public void setServiceInterfaceInstanceFileParameters(java.util.Map<java.lang.String,FileParameter> parameters) throws java.lang.Exception
java.lang.Exception
public java.lang.String getCallerServiceInterfaceInstanceId()
getCallerServiceInterfaceInstanceId
in interface IServiceInterfaceRequest
public void setCallerServiceInterfaceInstanceId(java.lang.String callerServiceInterfaceInstanceId)
callerServiceInterfaceInstanceConfig
- The callerServiceInterfaceInstanceConfig to set.public boolean isPreview()
isPreview
in interface IServiceInterfaceRequest
public void setPreview(boolean isPreview)
public int getMode()
getMode
in interface IServiceInterfaceRequest
public void setMode(int mode)
setMode
in interface IServiceInterfaceRequest
public javax.servlet.jsp.el.VariableResolver getVariableResolver()
public java.util.Map<java.lang.String,java.lang.String[]> getPrivateParameterMap()
getPrivateParameterMap
in interface PortletRequest
public java.util.Map<java.lang.String,java.lang.String[]> getPublicParameterMap()
getPublicParameterMap
in interface PortletRequest
public java.lang.String getWindowID()
getWindowID
in interface PortletRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |