public interface RequestContextFactory
A request context factory is invoked by the framework at the start of the request chain. It is responsible for producing a RequestContext object which is bound to the request. The RequestContext object is a single object instance with which all downstream framework elements can consult.
The RequestContext object is scoped to the request.
| Modifier and Type | Method and Description |
|---|---|
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.
|
RequestContext |
newInstance(org.springframework.web.context.request.WebRequest webRequest)
Produces a new RequestContext instance for a given request.
|
boolean canHandle(org.springframework.web.context.request.WebRequest webRequest)
webRequest - web requestRequestContext newInstance(org.springframework.web.context.request.WebRequest webRequest) throws RequestContextException
webRequest - the web request objectRequestContextExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.