Class RequestContextELResolver
java.lang.Object
jakarta.el.ELResolver
org.springframework.webflow.expression.el.RequestContextELResolver
public class RequestContextELResolver
extends jakarta.el.ELResolver
Custom EL resolver that resolves the current RequestContext under the variable
REQUEST_CONTEXT_VARIABLE_NAME
. Allows for accessing any property of the RequestContext instance. For example:
"#{flowRequestContext.conversationScope.myProperty}".- Author:
- Jeremy Grelle
-
Field Summary
Fields inherited from class jakarta.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getCommonPropertyType
(jakarta.el.ELContext elContext, Object base) getFeatureDescriptors
(jakarta.el.ELContext elContext, Object base) protected RequestContext
Class<?>
boolean
isReadOnly
(jakarta.el.ELContext elContext, Object base, Object property) void
Methods inherited from class jakarta.el.ELResolver
convertToType, invoke
-
Field Details
-
REQUEST_CONTEXT_VARIABLE_NAME
Name of the request context variable.- See Also:
-
-
Constructor Details
-
RequestContextELResolver
public RequestContextELResolver() -
RequestContextELResolver
-
-
Method Details
-
getCommonPropertyType
- Specified by:
getCommonPropertyType
in classjakarta.el.ELResolver
-
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(jakarta.el.ELContext elContext, Object base) - Overrides:
getFeatureDescriptors
in classjakarta.el.ELResolver
-
getType
- Specified by:
getType
in classjakarta.el.ELResolver
-
getValue
- Specified by:
getValue
in classjakarta.el.ELResolver
-
isReadOnly
- Specified by:
isReadOnly
in classjakarta.el.ELResolver
-
setValue
- Specified by:
setValue
in classjakarta.el.ELResolver
-
getRequestContext
-