public class ServletRequestContextFactory extends AbstractRequestContextFactory
frameworkUtils, webFrameworkServiceRegistry| Constructor and Description |
|---|
ServletRequestContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ServletRequestContext |
buildServletRequestContext(LinkBuilder linkBuilder) |
boolean |
canHandle(org.springframework.web.context.request.WebRequest webRequest)
Indicates whether the request context factory can produce a request context
for the given request object.
|
LinkBuilder |
createLinkBuilder()
Deprecated.
Use Spring configuration to set a new
LinkBuilder rather than calling (or overriding) this method. |
RequestContext |
newInstance(org.springframework.web.context.request.WebRequest webRequest)
Produces a new RequestContext instance for a given request.
|
void |
setConfigService(org.springframework.extensions.config.ConfigService configService) |
void |
setDependencyHandler(DependencyHandler dependencyHandler) |
void |
setExtensibilityModuleHandler(ExtensibilityModuleHandler extensibilityModuleHandler) |
void |
setLinkBuilderFactory(LinkBuilderFactory linkBuilderFactory)
This method has been provided to allow Spring to inject the required
LinkBuilderFactory. |
void |
setWebFrameworkConfigElement(WebFrameworkConfigElement webFrameworkConfigElement) |
getApplicationContext, getObjectService, getResourceService, getServiceRegistry, getWebFrameworkConfiguration, setApplicationContext, setFrameworkUtils, setServiceRegistrypublic void setLinkBuilderFactory(LinkBuilderFactory linkBuilderFactory)
This method has been provided to allow Spring to inject the required LinkBuilderFactory.
linkBuilderFactory - LinkBuilderFactorypublic void setExtensibilityModuleHandler(ExtensibilityModuleHandler extensibilityModuleHandler)
public void setDependencyHandler(DependencyHandler dependencyHandler)
public void setWebFrameworkConfigElement(WebFrameworkConfigElement webFrameworkConfigElement)
public void setConfigService(org.springframework.extensions.config.ConfigService configService)
public boolean canHandle(org.springframework.web.context.request.WebRequest webRequest)
RequestContextFactorycanHandle in interface RequestContextFactorycanHandle in class AbstractRequestContextFactorywebRequest - web requestpublic LinkBuilder createLinkBuilder()
LinkBuilder rather than calling (or overriding) this method.Creates the link builder to be used by this request context factory.
public RequestContext newInstance(org.springframework.web.context.request.WebRequest webRequest) throws RequestContextException
RequestContextFactorynewInstance in interface RequestContextFactorynewInstance in class AbstractRequestContextFactorywebRequest - the web request objectRequestContextExceptionprotected ServletRequestContext buildServletRequestContext(LinkBuilder linkBuilder)
Copyright © 2005–2016 Alfresco Software. All rights reserved.