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() |
Duration |
getMaxAuthTime() |
Duration |
getMaxConnectTime() |
int |
getPort() |
PropertyResolver |
getPropertyResolver() |
URI |
getUri() |
void |
setCredentials(BasicCredentialsProvider credentials) |
void |
setHost(String host) |
void |
setMaxAuthTime(Duration maxAuthTime) |
void |
setMaxConnectTime(Duration 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 Duration getMaxConnectTime()
public void setMaxConnectTime(Duration maxConnectTime)
public Duration getMaxAuthTime()
public void setMaxAuthTime(Duration maxAuthTime)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.