public class SftpFileSystemInitializationContext extends Object
Constructor and Description |
---|
SftpFileSystemInitializationContext(String id,
URI uri,
Map<String,?> env) |
Modifier and Type | Method and Description |
---|---|
BasicCredentialsProvider |
getCredentials() |
Map<String,?> |
getEnvironment() |
String |
getHost() |
String |
getId() |
long |
getMaxAuthTime() |
long |
getMaxConnectTime() |
int |
getPort() |
PropertyResolver |
getPropertyResolver() |
URI |
getUri() |
void |
setCredentials(BasicCredentialsProvider credentials) |
void |
setHost(String host) |
void |
setMaxAuthTime(long maxAuthTime) |
void |
setMaxConnectTime(long maxConnectTime) |
void |
setPort(int port) |
void |
setPropertyResolver(PropertyResolver propertyResolver) |
String |
toString() |
public SftpFileSystemInitializationContext(String id, URI uri, Map<String,?> env)
id
- The unique identifier assigned to the file-system being createduri
- The original URI
that triggered the file-system creationenv
- The environment settings passed along with the URI (may be null
)public String getId()
public Map<String,?> getEnvironment()
null
)public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public BasicCredentialsProvider getCredentials()
public void setCredentials(BasicCredentialsProvider credentials)
public PropertyResolver getPropertyResolver()
PropertyResolver
for easy access of any query parameters
encoded in the URIpublic void setPropertyResolver(PropertyResolver propertyResolver)
public long getMaxConnectTime()
public void setMaxConnectTime(long maxConnectTime)
public long getMaxAuthTime()
public void setMaxAuthTime(long maxAuthTime)
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.