Package org.apache.sshd.sftp.client.fs
Class SftpFileSystemInitializationContext
java.lang.Object
org.apache.sshd.sftp.client.fs.SftpFileSystemInitializationContext
- Author:
- Apache MINA SSHD Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.common.auth.BasicCredentialsProvidergetHost()getId()intgetPort()org.apache.sshd.common.PropertyResolvergetUri()voidsetCredentials(org.apache.sshd.common.auth.BasicCredentialsProvider credentials) voidvoidsetMaxAuthTime(Duration maxAuthTime) voidsetMaxConnectTime(Duration maxConnectTime) voidsetPort(int port) voidsetPropertyResolver(org.apache.sshd.common.PropertyResolver propertyResolver) toString()
-
Constructor Details
-
SftpFileSystemInitializationContext
- Parameters:
id- The unique identifier assigned to the file-system being createduri- The originalURIthat triggered the file-system creationenv- The environment settings passed along with the URI (may benull)
-
-
Method Details
-
getId
- Returns:
- The unique identifier assigned to the file-system being created
-
getUri
- Returns:
- The original
URIthat triggered the file-system creation
-
getEnvironment
- Returns:
- The environment settings passed along with the URI (may be
null)
-
getHost
-
setHost
-
getPort
public int getPort()- Returns:
- The resolved target port from the URI
-
setPort
public void setPort(int port) -
getCredentials
public org.apache.sshd.common.auth.BasicCredentialsProvider getCredentials()- Returns:
- The credentials recovered from the URI
-
setCredentials
public void setCredentials(org.apache.sshd.common.auth.BasicCredentialsProvider credentials) -
getPropertyResolver
public org.apache.sshd.common.PropertyResolver getPropertyResolver()- Returns:
- A
PropertyResolverfor easy access of any query parameters encoded in the URI
-
setPropertyResolver
public void setPropertyResolver(org.apache.sshd.common.PropertyResolver propertyResolver) -
getMaxConnectTime
- Returns:
- The resolved max. connect timeout (msec.)
-
setMaxConnectTime
-
getMaxAuthTime
- Returns:
- The resolved max. authentication timeout (msec.)
-
setMaxAuthTime
-
toString
-