public abstract class ThreadLocalRequestContext extends BaseFactoryBean implements RequestContext
ATTR_REQUEST_CONTEXT, DEBUG_MODE_VALUE_COMPONENTS, USER_ENDPOINT, VALUE_CREDENTIAL_VAULT, VALUE_HEAD_TAGS, VALUE_IDENTITY_VAULT| Modifier | Constructor and Description |
|---|---|
protected |
ThreadLocalRequestContext(WebFrameworkServiceRegistry serviceRegistry)
Override the default constructor to set the RequestContext value for the current thread
|
| Modifier and Type | Method and Description |
|---|---|
static RequestContext |
getRequestContext()
Instance getter to return the RequestContext for the current thread
|
void |
release()
Release resources
|
getObjectService, getResourceService, getServiceRegistry, getWebFrameworkConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCssDependency, addJSDependency, addSubComponentDebugData, dependencyAlreadyRequested, getAttribute, getAttributes, getContentAsString, getContextPath, getCredentialVault, getCurrentObject, getCurrentObjectId, getEvaluatedModules, getEvaluatedProperties, getExtensionDependencies, getFormatId, getHeader, getHeaders, getId, getLinkBuilder, getModel, getObjectService, getPage, getPageId, getPageTitle, getParameter, getParameters, getRenderingComponents, getRenderMode, getRequestContent, getRequestMethod, getRequestScheme, getResponse, getRootPage, getServiceRegistry, getServletContextPath, getSiteConfiguration, getSubComponentDebugData, getTemplate, getTemplateId, getTheme, getThemeId, getUri, getUriTokens, getUser, getUserId, getValue, getValuesMap, getViewName, getWebsiteTitle, hasAttribute, hasHeader, hasParameter, hasValue, isPassiveMode, markDependencyAsRequested, removeValue, setConfigService, setCurrentObject, setDependencyHandler, setEvaluatedProperties, setExtensibilityModuleHandler, setFormatId, setModel, setPage, setPassiveMode, setRenderingComponent, setRenderMode, setResponse, setServletContextPath, setTemplate, setTheme, setUri, setUriTokens, setUser, setValue, setViewName, setWebFrameworkConfigElementaddExtensibilityDirectives, addExtensionBundleToCache, closeExtensibilityModel, getCachedExtendedBundle, getCurrentExtensibilityModel, getExtendedScriptConfigModel, getExtendedTemplateConfigModel, getExtendingModuleFiles, getFileBeingProcessed, isExtensibilitySuppressed, openExtensibilityModel, setFileBeingProcessed, updateExtendingModuleDependenciesprotected ThreadLocalRequestContext(WebFrameworkServiceRegistry serviceRegistry)
public static RequestContext getRequestContext()
public void release()
release in interface RequestContextCopyright © 2005–2016 Alfresco Software. All rights reserved.