| Modifier and Type | Field and Description |
|---|---|
static AttributeRepository.AttributeKey<String> |
UserAuthPublicKey.IDENTITY_AGENT
Is set on a
ClientSession when it is created; contains the value of the IdentityAgent SSH config
setting. |
static AttributeRepository.AttributeKey<Boolean> |
UserAuthPublicKey.USE_DEFAULT_IDENTITIES
Is set on a
ClientSession when it is created; if Boolean.FALSE, no default identities shall be
used. |
| Modifier and Type | Field and Description |
|---|---|
static AttributeRepository.AttributeKey<SshdSocketAddress> |
ClientSessionCreator.TARGET_SERVER |
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeRepository.AttributeKey<?>> |
AttributeRepository.attributeKeys() |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
AttributeStore.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 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 |
FactoryManager.resolveAttribute(AttributeRepository.AttributeKey<T> key) |
default <T> T |
AttributeRepository.resolveAttribute(AttributeRepository.AttributeKey<T> key)
Attempts to resolve the associated value by going up the store's hierarchy (if any)
|
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,
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(Map<AttributeRepository.AttributeKey<?>,?> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeRepository.AttributeKey<?>> |
AbstractChannel.attributeKeys() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AbstractChannel.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
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,
Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeRepository.AttributeKey<?>> |
AbstractFactoryManager.attributeKeys() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AbstractFactoryManager.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
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,
Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
| Modifier and Type | Field and Description |
|---|---|
static AttributeRepository.AttributeKey<Boolean> |
DefaultServerKexExtensionHandler.CLIENT_REQUESTED_EXT_INFO
Session
AttributeRepository.AttributeKey storing whether the client requested to get the EXT_INFO message. |
static AttributeRepository.AttributeKey<Boolean> |
DefaultServerKexExtensionHandler.EXT_INFO_SENT_AT_NEWKEYS
Session
AttributeRepository.AttributeKey storing whether the server sent an EXT_INFO message at KexPhase#NEWKEYS. |
static AttributeRepository.AttributeKey<Integer> |
DefaultClientKexExtensionHandler.HOSTBOUND_AUTHENTICATION
Session
AttributeRepository.AttributeKey storing the version if the server supports host-bound public key authentication. |
static AttributeRepository.AttributeKey<Set<String>> |
DefaultClientKexExtensionHandler.SERVER_ALGORITHMS
Session
AttributeRepository.AttributeKey storing the algorithms announced by the server as known. |
| 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 | Method and Description |
|---|---|
Collection<AttributeRepository.AttributeKey<?>> |
SessionHelper.attributeKeys() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
SessionHelper.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
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,
Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
| Modifier and Type | Field and Description |
|---|---|
static AttributeRepository.AttributeKey<AuthorizedKeyEntry> |
AuthorizedKeyEntriesPublickeyAuthenticator.AUTHORIZED_KEY |
static AttributeRepository.AttributeKey<Map<PublicKey,Boolean>> |
CachingPublicKeyAuthenticator.CACHE_ATTRIBUTE
The
AttributeKey used to store the cached
authentication results on the session instance |
| Modifier and Type | Field and Description |
|---|---|
static AttributeRepository.AttributeKey<Boolean> |
SftpFileSystem.OWNED_SESSION
An
AttributeRepository.AttributeKey that can be set to Boolean.TRUE on the ClientSession to tell the
SftpFileSystem that it owns that session and should close it when the SftpFileSystem itself is
closed. |
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeRepository.AttributeKey<?>> |
Handle.attributeKeys() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Handle.computeAttributeIfAbsent(AttributeRepository.AttributeKey<T> key,
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,
Function<? super AttributeRepository.AttributeKey<T>,? extends T> resolver) |
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.