Modifier and Type | Method and Description |
---|---|
RequestContext |
RenderingJob.getRequestContext()
The request context associated with this job
|
Modifier and Type | Method and Description |
---|---|
void |
ContentServerAdapter.addStyle(RequestContext context,
String decoratorName,
String decoratorType)
Adds stylesheets into the response header for a decoration
using the Header Resource component.
|
void |
Aggregator.build(RequestContext context)
Builds the portlet set defined in the context into a portlet tree.
|
RenderingJob |
PortletRenderer.createRenderingJob(ContentFragment fragment,
RequestContext request)
Create a rendering job for the specified content fragment.
|
void |
PortletRenderer.notifyContentComplete(RequestContext context,
PortletWindow window)
Notification callback from job to this renderer informing that the content rendering has completed.
|
void |
ContentServerAdapter.prepareContentPaths(RequestContext context,
ContentPage page)
Pre page aggregation event, prepares the content paths for the
given decorators of the current page being aggregated.
|
void |
PageAggregator.renderContent(RequestContext rc,
ContentFragment root)
Defines the interface for rendering content for a page.
|
void |
PortletRenderer.renderNow(ContentFragment fragment,
RequestContext request)
Renders the specified fragment immediately.
|
void |
PortletRenderer.renderNow(ContentFragment fragment,
RequestContext request,
boolean spawned)
Render the specified fragment immediately.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AjaxBuilder.buildContext(RequestContext requestContext,
Map<String,Object> contextVars)
Build the normal context template
|
boolean |
AjaxBuilder.buildErrorContext(RequestContext requestContext,
Map<String,Object> contextVars)
Build the error context template
|
boolean |
AjaxAction.checkAccess(RequestContext context,
String action)
Checks to see if the current subject has access to to execute this action.
|
void |
AjaxRequestService.process(RequestContext requestContext)
Entry point into processing an Ajax request
|
boolean |
AjaxAction.run(RequestContext requestContext,
Map<String,Object> resultMap)
The action should put any parameters or results it wants
passed on to the builders in the resultMap
This method runs an Ajax action.
|
boolean |
AjaxAction.runBatch(RequestContext requestContext,
Map<String,Object> resultMap)
Same as run method, but runs in batch mode, as a hint to the action
that it is running a multiple action and can delay its update
runBatch currently supports pageManager.updatePage
|
Modifier and Type | Method and Description |
---|---|
ContentCacheKey |
JetspeedCache.createCacheKey(RequestContext rc,
String windowId)
Create a portlet content cache key based on dynamic request context information and a window id
|
ContentCacheKey |
ContentCacheKeyGenerator.createCacheKey(RequestContext context,
String windowId)
Normalized and pluggable cache key generator
|
String |
JetspeedContentCache.createSessionKey(RequestContext context)
Creates a session key used to store associated information in the session.
|
void |
JetspeedContentCache.invalidate(RequestContext context)
remove from the cache and invalidate any associated caches or session attributes
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
PortletWindow.getRequestContext() |
Modifier and Type | Method and Description |
---|---|
void |
NavigationalState.registerPortletContentCachedForPublicRenderParameters(RequestContext context,
PortletContent content) |
boolean |
NavigationalState.sync(RequestContext context)
Synchronize the Navigational State with saved state (if used).
|
Modifier and Type | Method and Description |
---|---|
void |
DecorationFactory.clearCache(RequestContext requestContext)
Clears the lookup cache of all previous located pathes.
|
Decoration |
DecorationFactory.getDecoration(ContentPage page,
ContentFragment fragment,
RequestContext requestContext)
Returns a Decoration for a specific
Fragment contained
within the specified Page . |
Set<String> |
DecorationFactory.getDesktopPageDecorations(RequestContext request)
Get the portal-wide list of available desktop page decorations.
|
Set<String> |
DecorationFactory.getDesktopPortletDecorations(RequestContext request)
Get the portal-wide list of desktop portlet decorations.
|
LayoutDecoration |
DecorationFactory.getLayoutDecoration(String name,
RequestContext requestContext)
Returns a named layout Decoration appropriate to the
current request conetext.
|
List<LayoutInfo> |
DecorationFactory.getLayouts(RequestContext request)
Get the portal-wide list of available layouts.
|
Set<String> |
DecorationFactory.getPageDecorations(RequestContext request)
Get the portal-wide list of page decorations.
|
PortletDecoration |
DecorationFactory.getPortletDecoration(String name,
RequestContext requestContext)
Returns a names portlet Decoration appropriate to the
current request conetext.
|
Set<String> |
DecorationFactory.getPortletDecorations(RequestContext request)
Get the portal-wide list of portlet decorations.
|
ResourceBundle |
Decoration.getResourceBundle(Locale locale,
RequestContext context) |
Theme |
DecorationFactory.getTheme(ContentPage page,
RequestContext requestContext)
Returns a theme containing all of the Decorations for all of
the layouts on the current page.
|
void |
Theme.init(ContentPage page,
DecorationFactory decoration,
RequestContext context)
Initialize a page theme
|
boolean |
DecorationFactory.isDesktopEnabled(RequestContext requestContext)
Indicates whether /desktop is enabled for the current portal request.
|
Modifier and Type | Method and Description |
---|---|
String |
JetspeedDesktop.getPortalBaseUrl(RequestContext requestContext)
Portal base url ( e.g.
|
String |
JetspeedDesktop.getPortalBaseUrl(RequestContext requestContext,
boolean encode)
Portal base url ( e.g.
|
String |
JetspeedDesktop.getPortalResourceUrl(RequestContext requestContext,
String relativePath)
Portal base url with relativePath argument appended ( e.g.
|
String |
JetspeedDesktop.getPortalResourceUrl(RequestContext requestContext,
String relativePath,
boolean encode)
Portal base url with relativePath argument appended ( e.g.
|
String |
JetspeedDesktop.getPortalUrl(RequestContext requestContext)
Portal base servlet url ( e.g.
|
String |
JetspeedDesktop.getPortalUrl(RequestContext requestContext,
boolean encode)
Portal base servlet url ( e.g.
|
String |
JetspeedDesktop.getPortalUrl(RequestContext requestContext,
String relativePath)
Portal base servlet url with relativePath argument appended ( e.g.
|
String |
JetspeedDesktop.getPortalUrl(RequestContext requestContext,
String relativePath,
boolean encode)
Portal base servlet url with relativePath argument appended ( e.g.
|
boolean |
JetspeedDesktop.isDesktopEnabled(RequestContext requestContext)
Indicates whether /desktop is enabled for the current portal request.
|
void |
JetspeedDesktop.render(RequestContext request)
Render a desktop theme.
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
Engine.getCurrentRequestContext()
Returns the the RequestContext associated with the current
thread.
|
Modifier and Type | Method and Description |
---|---|
void |
Engine.service(RequestContext context)
Makes a service request to the engine.
|
Modifier and Type | Method and Description |
---|---|
HeaderResource |
HeaderResourceFactory.getHeaderResouce(RequestContext requestContext)
Provides HeaderResource instance from RequestContext.
|
HeaderResource |
HeaderResourceFactory.getHeaderResource(RequestContext requestContext,
BasePortalURL baseUrlAccess,
boolean isDesktop,
Map<String,Object> headerConfiguration)
Provides HeaderResource instance from RequestContext.
|
static String |
HeaderResourceLib.getPortalBaseUrl(RequestContext requestContext)
Portal base url ( e.g.
|
static String |
HeaderResourceLib.getPortalBaseUrl(RequestContext requestContext,
BasePortalURL baseUrlAccessOverride)
Portal base url ( e.g.
|
static String |
HeaderResourceLib.getPortalBaseUrl(RequestContext requestContext,
BasePortalURL baseUrlAccessOverride,
boolean fullUrl)
Portal base url ( e.g.
|
static String |
HeaderResourceLib.getPortalResourceUrl(String relativePath,
String portalBaseUrl,
boolean encode,
RequestContext requestContext)
Portal base url with relativePath argument appended ( e.g.
|
static String |
HeaderResourceLib.getPortalUrl(String portalBaseUrl,
RequestContext requestContext)
Portal base servlet url ( e.g.
|
static String |
HeaderResourceLib.getPortalUrl(String portalBaseUrl,
RequestContext requestContext,
String servletPath)
Portal base servlet url ( e.g.
|
static String |
HeaderResourceLib.getPortalUrl(String relativePath,
String portalUrl,
boolean encode,
RequestContext requestContext)
Portal base servlet url with relativePath argument appended ( e.g.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PortletActionSecurityBehavior.checkAccess(RequestContext context,
String action) |
boolean |
PortletActionSecurityBehavior.createNewPageOnEdit(RequestContext context) |
JetspeedPowerTool |
JetspeedPowerToolFactory.getJetspeedPowerTool(RequestContext requestContext,
javax.portlet.PortletConfig portletConfig,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
boolean |
PortletActionSecurityBehavior.isPageQualifiedForCreateNewPageOnEdit(RequestContext context) |
Modifier and Type | Class and Description |
---|---|
class |
MockRequestContext
MockRequestContext
|
Modifier and Type | Method and Description |
---|---|
void |
Pipeline.invoke(RequestContext context)
Cause the specified request and response to be processed by
the sequence of Valves associated with this pipeline, until one
of these Valves decides to end the processing.
|
Modifier and Type | Method and Description |
---|---|
void |
Valve.invoke(RequestContext request,
ValveContext context) |
void |
ValveContext.invokeNext(RequestContext request)
Cause the
invoke() method of the next Valve
that is part of the Pipeline currently being processed (if any)
to be executed, passing on the specified request and response
objects plus this ValveContext instance. |
Modifier and Type | Method and Description |
---|---|
ProfileLocator |
Profiler.createLocator(RequestContext context)
Creates a new ProfileLocator object that can be managed by
the current Profiler implementation
|
ProfileLocator |
Profiler.getDefaultProfile(RequestContext context,
String locatorName)
Retrieve the default profile locator
ProfileLocator for the given runtime parameters represented in the request
context and for the locatorName. |
Map<String,ProfileLocator> |
Profiler.getDefaultProfileLocators(RequestContext context)
Retrieves a map of all default locators, mapping locator name to profile locator
|
ProfileLocator |
Profiler.getProfile(RequestContext context,
ProfilingRule rule)
Retrieve a profile locator
ProfileLocator for the given runtime parameters represented in the request
context and for the provided ProfilingRule . |
ProfileLocator |
Profiler.getProfile(RequestContext context,
String locatorName)
Retrieve a profile locator
ProfileLocator for the given runtime parameters represented in the request
context and for the locatorName. |
Map<String,ProfileLocator> |
Profiler.getProfileLocators(RequestContext context,
Principal principal)
Retrieves a map of all supported locators for a principal, mapping locator name to profile locator
|
Modifier and Type | Method and Description |
---|---|
ProfileLocator |
ProfilingRule.apply(RequestContext context,
Profiler service)
Applying the profiling rule generates a generic profile locator.
|
String |
RuleCriterionResolver.resolve(RequestContext context,
RuleCriterion criterion)
Resolver the value for a criterion.
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
RequestContextComponent.create(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.ServletConfig config)
Creates a request context for the given servlet request and stores it on the current thread
|
RequestContext |
RequestContextComponent.getRequestContext()
Get the request context on the current thread
|
Modifier and Type | Method and Description |
---|---|
void |
RequestContextComponent.setRequestContext(RequestContext requestContext)
Set a new request context on the current (possibly spawned) thread
Note: providing a null value effectively clears the request context from the current thread.
|
Modifier and Type | Method and Description |
---|---|
void |
PortalStatistics.logPageAccess(RequestContext request,
String statusCode,
long msElapsedTime)
Logs an access to a page.
|
void |
PortalStatistics.logPortletAccess(RequestContext request,
String portlet,
String statusCode,
long msElapsedTime)
Logs an access to a portlet.
|
void |
PortalStatistics.logUserLogin(RequestContext request,
long msElapsedLoginTime)
Logs a user logout event.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
UserAttributeSource.getUserAttributeMap(Subject subject,
Collection<UserAttributeRef> userAttributeRefs,
RequestContext context) |
Map<String,String> |
UserInfoManager.getUserInfoMap(String appName,
RequestContext context)
Provide the user info map of user attributes for a given portlet application.
|
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.