Modifier and Type | Field and Description |
---|---|
static AttributeRepository.AttributeKey<SshdSocketAddress> |
ClientSessionCreator.TARGET_SERVER |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AttributeRepository.AttributeKey<?>> |
AttributeRepository.attributeKeys() |
Modifier and Type | Method and Description |
---|---|
default <T> T |
AttributeStore.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver)
If the specified key is not already associated with a value (or is mapped to
null ), attempts to compute
its value using the given mapping function and enters it into this map unless null . |
<T> T |
AttributeRepository.getAttribute(AttributeRepository.AttributeKey<T> key)
Returns the value of the user-defined attribute.
|
static <A> AttributeRepository |
AttributeRepository.ofKeyValuePair(AttributeRepository.AttributeKey<A> key,
A value) |
<T> T |
AttributeStore.removeAttribute(AttributeRepository.AttributeKey<T> key)
Removes the user-defined attribute
|
default <T> T |
AttributeRepository.resolveAttribute(AttributeRepository.AttributeKey<T> key)
Attempts to resolve the associated value by going up the store's hierarchy (if any)
|
default <T> T |
FactoryManager.resolveAttribute(AttributeRepository.AttributeKey<T> key) |
static <T> T |
FactoryManager.resolveAttribute(FactoryManager manager,
AttributeRepository.AttributeKey<T> key) |
<T> T |
AttributeStore.setAttribute(AttributeRepository.AttributeKey<T> key,
T value)
Sets a user-defined attribute.
|
Modifier and Type | Method and Description |
---|---|
default <T> T |
AttributeStore.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver)
If the specified key is not already associated with a value (or is mapped to
null ), attempts to compute
its value using the given mapping function and enters it into this map unless null . |
static AttributeRepository |
AttributeRepository.ofAttributesMap(java.util.Map<AttributeRepository.AttributeKey<?>,?> attributes) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AttributeRepository.AttributeKey<?>,java.lang.Object> |
AbstractChannel.attributes |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AttributeRepository.AttributeKey<?>> |
AbstractChannel.attributeKeys() |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractChannel.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
<T> T |
AbstractChannel.getAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
AbstractChannel.removeAttribute(AttributeRepository.AttributeKey<T> key) |
default <T> T |
Channel.resolveAttribute(AttributeRepository.AttributeKey<T> key) |
static <T> T |
Channel.resolveAttribute(Channel channel,
AttributeRepository.AttributeKey<T> key)
Attempts to use the channel attribute, if not found then tries the session
|
<T> T |
AbstractChannel.setAttribute(AttributeRepository.AttributeKey<T> key,
T value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractChannel.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AttributeRepository.AttributeKey<?>,java.lang.Object> |
AbstractFactoryManager.attributes |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AttributeRepository.AttributeKey<?>> |
AbstractFactoryManager.attributeKeys() |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractFactoryManager.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
<T> T |
AbstractFactoryManager.getAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
AbstractFactoryManager.removeAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
AbstractFactoryManager.setAttribute(AttributeRepository.AttributeKey<T> key,
T value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractFactoryManager.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
Modifier and Type | Field and Description |
---|---|
static AttributeRepository.AttributeKey<java.util.Map<KexProposalOption,java.lang.String>> |
DefaultClientKexExtensionHandler.CLIENT_PROPOSAL_KEY
Session
AttributeRepository.AttributeKey used to store the client's proposal |
static AttributeRepository.AttributeKey<java.util.Map<KexProposalOption,java.lang.String>> |
DefaultClientKexExtensionHandler.SERVER_PROPOSAL_KEY
Session
AttributeRepository.AttributeKey used to store the server's proposal |
Modifier and Type | Method and Description |
---|---|
default <T> T |
Session.resolveAttribute(AttributeRepository.AttributeKey<T> key) |
static <T> T |
Session.resolveAttribute(Session session,
AttributeRepository.AttributeKey<T> key)
Attempts to use the session's attribute, if not found then tries the factory manager
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AttributeRepository.AttributeKey<?>,java.lang.Object> |
SessionHelper.attributes
Session specific attributes
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AttributeRepository.AttributeKey<?>> |
SessionHelper.attributeKeys() |
Modifier and Type | Method and Description |
---|---|
<T> T |
SessionHelper.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
<T> T |
SessionHelper.getAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
SessionHelper.removeAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
SessionHelper.setAttribute(AttributeRepository.AttributeKey<T> key,
T value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
SessionHelper.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
Modifier and Type | Field and Description |
---|---|
static AttributeRepository.AttributeKey<AuthorizedKeyEntry> |
AuthorizedKeyEntriesPublickeyAuthenticator.AUTHORIZED_KEY |
static AttributeRepository.AttributeKey<java.util.Map<java.security.PublicKey,java.lang.Boolean>> |
CachingPublicKeyAuthenticator.CACHE_ATTRIBUTE
The
AttributeKey used to store the cached
authentication results on the session instance |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AttributeRepository.AttributeKey<?>,java.lang.Object> |
Handle.attributes |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AttributeRepository.AttributeKey<?>> |
Handle.attributeKeys() |
Modifier and Type | Method and Description |
---|---|
<T> T |
Handle.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
<T> T |
Handle.getAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
Handle.removeAttribute(AttributeRepository.AttributeKey<T> key) |
<T> T |
Handle.setAttribute(AttributeRepository.AttributeKey<T> key,
T value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Handle.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
java.util.function.Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |