Package io.jmix.data.impl
Class SessionQueryParamValueProvider
java.lang.Object
io.jmix.data.impl.SessionQueryParamValueProvider
- All Implemented Interfaces:
QueryParamValueProvider
@Component("data_SessionQueryParamValueProvider")
@Order(0)
public class SessionQueryParamValueProvider
extends Object
implements QueryParamValueProvider
Takes query parameter values from current session attributes set using
SessionData
.
Parameter names must be in the form session_ATTRIBUTE
where ATTRIBUTE
is the name of a session attribute.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
SESSION_PREFIX
- See Also:
-
-
Constructor Details
-
SessionQueryParamValueProvider
public SessionQueryParamValueProvider()
-
-
Method Details
-
supports
Description copied from interface:QueryParamValueProvider
Returns true if this provider supports the given parameter.- Specified by:
supports
in interfaceQueryParamValueProvider
-
getValue
Description copied from interface:QueryParamValueProvider
Returns a value for the given parameter.- Specified by:
getValue
in interfaceQueryParamValueProvider
-