public class MutableBoundRequest extends Object implements BoundRequest
BoundRequest
backed by a pair of maps.Constructor and Description |
---|
MutableBoundRequest(Map<String,Object> requestMap,
Map<String,Object> sessionMap) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getRequestMap()
Get the current request map.
|
Map<String,Object> |
getSessionMap(boolean create)
Get the current session map.
|
public Map<String,Object> getRequestMap()
BoundRequest
getRequestMap
in interface BoundRequest
public Map<String,Object> getSessionMap(boolean create)
BoundRequest
Get the current session map.
A BoundRequest
may be backed by a data store that only creates sessions on demand. It is recommended that if the
session is not created on demand, or that the session has already been created (but is not required by this access) that
the session is returned as it allows the conversation context to work more efficiently.
getSessionMap
in interface BoundRequest
create
- if true, then a session must be createdCopyright © 2017 JBoss by Red Hat. All rights reserved.