Class ImmutableSessionAttributesFilter

    • Constructor Detail

      • ImmutableSessionAttributesFilter

        public ImmutableSessionAttributesFilter​(ImmutableSession session)
    • Method Detail

      • getAttributes

        public <T> Map<String,​T> getAttributes​(Class<T> targetClass)
        Description copied from interface: SessionAttributesFilter
        Returns the attributes who values implement the specified type.
        Specified by:
        getAttributes in interface SessionAttributesFilter
        Type Parameters:
        T - the target instanceof type
        Parameters:
        targetClass - a target class/interface.
        Returns:
        a map of session attribute names and values that are instances of the specified type.