Uses of Class
org.apache.sshd.common.AttributeRepository.AttributeKey
Packages that use AttributeRepository.AttributeKey
-
Uses of AttributeRepository.AttributeKey in org.apache.sshd.common
Methods in org.apache.sshd.common that return types with arguments of type AttributeRepository.AttributeKeyMethods in org.apache.sshd.common with parameters of type AttributeRepository.AttributeKeyModifier and TypeMethodDescriptiondefault <T> TAttributeStore.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key, Function<? super AttributeRepository.AttributeKey<T>, ? extends T> resolver) If the specified key is not already associated with a value (or is mapped tonull), attempts to compute its value using the given mapping function and enters it into this map unlessnull.<T> TAttributeRepository.getAttribute(AttributeRepository.AttributeKey<T> key) Returns the value of the user-defined attribute.static <A> AttributeRepositoryAttributeRepository.ofKeyValuePair(AttributeRepository.AttributeKey<A> key, A value) <T> TAttributeStore.removeAttribute(AttributeRepository.AttributeKey<T> key) Removes the user-defined attributedefault <T> TAttributeRepository.resolveAttribute(AttributeRepository.AttributeKey<T> key) Attempts to resolve the associated value by going up the store's hierarchy (if any)<T> TAttributeStore.setAttribute(AttributeRepository.AttributeKey<T> key, T value) Sets a user-defined attribute.Method parameters in org.apache.sshd.common with type arguments of type AttributeRepository.AttributeKeyModifier and TypeMethodDescriptiondefault <T> TAttributeStore.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key, Function<? super AttributeRepository.AttributeKey<T>, ? extends T> resolver) If the specified key is not already associated with a value (or is mapped tonull), attempts to compute its value using the given mapping function and enters it into this map unlessnull.static AttributeRepositoryAttributeRepository.ofAttributesMap(Map<AttributeRepository.AttributeKey<?>, ?> attributes)