@StableMinor(version="12.5", sinceVersion="4.0") public interface IServiceInterfaceRequest extends PortletRequest, IPageWebResourceRequest
PortletRequest.P3PUserInfos
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG_LEVEL_HIGH |
static int |
DEBUG_LEVEL_LOW |
static int |
DEBUG_LEVEL_MEDIUM |
static int |
DEBUG_LEVEL_NONE |
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
Modifier and Type | Method and Description |
---|---|
Enumeration<String> |
getAttributeNames()
Returns an
Enumeration containing the names of the
attributes available to this request. |
IBusinessContext |
getBusinessContext()
Returns the business context for this request.
|
String |
getCallerServiceInterfaceInstanceId() |
IPreferences |
getCallerServiceInterfaceInstancePreferences()
Returns the preferences of the
caller service interface instance
at level that corresponds to the menu level returned by getCallerServiceInterfaceMenuLevel() . |
ServiceInterfaceMenuLevel |
getCallerServiceInterfaceMenuLevel()
Returns the service interface menu level that called the interface processed by this request.
|
Cookie |
getCookie(String cookieName)
Returns the requested cookie or
null if the cookie does not exist in request. |
Cookie[] |
getCookies()
Returns the request's cookies.
|
FileParameter |
getFileParameter(String parameterName)
Returns the uploaded file by the given parameter name.
|
String |
getHeader(String header)
Returns the requested header or
null if the header does not exist in request. |
int |
getMode() |
PageConfig |
getPageConfig() |
PageWebResource |
getPageWebResource()
Returns the
PageWebResource of this request. |
Map<String,String[]> |
getParameterMap()
Returns a
Map of the parameters of this request. |
Enumeration<String> |
getParameterNames()
Returns an
Enumeration of String objects
containing the names of the parameters contained in this request. |
IPreferences |
getPreferences() |
IServiceInterfaceRequestDispatcher |
getRequestDispatcher(String path) |
ServiceConfig |
getServiceConfig() |
ServiceInstanceConfig |
getServiceInstanceConfig() |
int |
getServiceInstanceDebugLevel() |
ServiceInterfaceConfig |
getServiceInterfaceConfig() |
ServiceInterfaceInstanceConfig |
getServiceInterfaceInstanceConfig() |
String |
getServiceInterfaceInstanceId() |
SessionConfig |
getSessionConfig()
Returns the session of the user that has performed the request.
|
IWebsiteBaseURL |
getWebsiteBaseURL()
Returns the website's base URL accessed to generate this request.
|
boolean |
isPreview()
Returns whether the request is in preview mode.
|
void |
setMode(int mode)
Deprecated.
Since 7.1.0 as this method should not be used
by service interfaces and may be removed in the future.
|
void |
setSessionConfig(SessionConfig sessionConfig) |
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
getApplicationRequestedPath, getAttribute, getContextPath, getParameter, getParameterValues, getPortalMode, getScheme, getServerName, getServerPort, isPageCachedInFile, isSecure, removeAttribute, setAttribute
static final int DEBUG_LEVEL_NONE
static final int DEBUG_LEVEL_LOW
static final int DEBUG_LEVEL_MEDIUM
static final int DEBUG_LEVEL_HIGH
Enumeration<String> getAttributeNames()
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 IPageWebResourceRequest
getAttributeNames
in interface PortletRequest
Enumeration
of strings containing the names of
the request attributes, or an empty Enumeration
if
the request has no attributes available to it.Enumeration<String> getParameterNames()
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 IPageWebResourceRequest
getParameterNames
in interface PortletRequest
Enumeration
of String
objects,
each String
containing the name of a request
parameter; or an empty Enumeration
if the request
has no parameters.Map<String,String[]> getParameterMap()
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 IPageWebResourceRequest
getParameterMap
in interface PortletRequest
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[]
).String getServiceInterfaceInstanceId()
ServiceInterfaceInstanceConfig getServiceInterfaceInstanceConfig()
ServiceInterfaceConfig getServiceInterfaceConfig()
ServiceInstanceConfig getServiceInstanceConfig()
ServiceConfig getServiceConfig()
PageConfig getPageConfig()
void setSessionConfig(SessionConfig sessionConfig)
userSessionId
- SessionConfig getSessionConfig()
IPageWebResourceRequest
getSessionConfig
in interface IPageWebResourceRequest
Cookie[] getCookies()
IPageWebResourceRequest
getCookies
in interface IPageWebResourceRequest
getCookies
in interface PortletRequest
Cookie getCookie(String cookieName)
IPageWebResourceRequest
null
if the cookie does not exist in request.getCookie
in interface IPageWebResourceRequest
cookieName
- the requested cookie name.null
if the cookie does not exist in request.String getHeader(String header)
IPageWebResourceRequest
null
if the header does not exist in request.getHeader
in interface IPageWebResourceRequest
header
- the requested header name.null
if the header does not exist in request.IServiceInterfaceRequestDispatcher getRequestDispatcher(String path)
int getServiceInstanceDebugLevel()
FileParameter getFileParameter(String parameterName)
IPageWebResourceRequest
getFileParameter
in interface IPageWebResourceRequest
parameterName
- the parameter name.String getCallerServiceInterfaceInstanceId()
IPreferences getCallerServiceInterfaceInstancePreferences()
caller service interface instance
at level that corresponds to the menu level returned by getCallerServiceInterfaceMenuLevel()
.IllegalStateException
- if either caller service interface instance or caller service interface menu level
was not provided.IPreferences getPreferences()
getPreferences
in interface PortletRequest
ServiceInterfaceMenuLevel getCallerServiceInterfaceMenuLevel()
IllegalStateException
- if there is no information about the caller menu service interface menu level
available.boolean isPreview()
IPageWebResourceRequest
isPreview
in interface IPageWebResourceRequest
int getMode()
@Deprecated void setMode(int mode)
IBusinessContext getBusinessContext()
getBusinessContext
in interface IPageWebResourceRequest
PageWebResource getPageWebResource()
PageWebResource
of this request.getPageWebResource
in interface IPageWebResourceRequest
PageWebResource
of this request.IWebsiteBaseURL getWebsiteBaseURL()
getWebsiteBaseURL
in interface IPageWebResourceRequest
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.