@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Object getAttribute(String name) { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException(sm.getString("standardSession.getAttribute.ise")); } if (name == null) { return null; } return map.get(name); } return super.getAttribute(name); }
@Override public Object getAttribute(String name) { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException(sm.getString("standardSession.getAttribute.ise")); } if (name == null) { return null; } return map.get(name); } return super.getAttribute(name); }
@Override public Object getAttribute(String name) { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException(sm.getString("standardSession.getAttribute.ise")); } if (name == null) { return null; } return map.get(name); } return super.getAttribute(name); }
@Override public Object getAttribute(String name) { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException(sm.getString("standardSession.getAttribute.ise")); } if (name == null) { return null; } return map.get(name); } return super.getAttribute(name); }
@Override public String[] getValueNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } Set<String> keys = map.readAllKeySet(); return keys.toArray(new String[keys.size()]); } return super.getValueNames(); }
@Override public Enumeration<String> getAttributeNames() { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException (sm.getString("standardSession.getAttributeNames.ise")); } return Collections.enumeration(map.readAllKeySet()); } return super.getAttributeNames(); }
@Override public Object getAttribute(String name) { if (readMode == ReadMode.REDIS) { if (!isValidInternal()) { throw new IllegalStateException(sm.getString("standardSession.getAttribute.ise")); } if (name == null) { return null; } return map.get(name); } return super.getAttribute(name); }