protected ContextMap createMapForScope(String scope) {
ContextMap map = null;
switch (scope) {
case SCOPE_SESSION: {
HttpServletRequest request = getRequest();
map = new SessionMap(request);
}
break;
case SCOPE_HEADER: {
HttpServletRequest request = getRequest();
map = DelegatedContextMap.createByNonThreadSafeHashMap();