public Enumeration<String> getAttributeNames(int scope) {
// Return all attribute names in the nested HttpSession object.
if (scope == PortletSession.APPLICATION_SCOPE) {
return httpSession.getAttributeNames();
}
// Return attribute names with the portlet-scoped prefix.
Vector<String> portletScopedNames = new Vector<String>();
for (Enumeration<String> en = httpSession.getAttributeNames();
en.hasMoreElements(); ) {
String name = en.nextElement();
if (isInCurrentPortletScope(name)) {
portletScopedNames.add(
PortletSessionUtil.decodeAttributeName(name));
}
}
return portletScopedNames.elements();
}
PortletSessionImpl.java 文件源码
java
阅读 14
收藏 0
点赞 0
评论 0
项目:portals-pluto
作者:
评论列表
文章目录