Class SftpFileSystem.SftpClientEnriched
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.client.subsystem.AbstractSubsystemClient
org.apache.sshd.sftp.client.impl.AbstractSftpClient
org.apache.sshd.sftp.client.fs.SftpFileSystem.DelegatingClient
org.apache.sshd.sftp.client.fs.SftpFileSystem.SftpClientEnriched
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, ClientChannelHolder, ClientSessionHolder, SubsystemClient, ChannelHolder, NamedResource, SessionContextHolder, SessionHolder<ClientSession>, FullAccessSftpClient, RawSftpClient, SftpClient, SftpErrorDataHandler
- Enclosing class:
SftpFileSystem
SftpClient with support for getting supported file attribute views and the server-side default directory.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SftpClient
SftpClient.Attribute, SftpClient.Attributes, SftpClient.CloseableHandle, SftpClient.CopyMode, SftpClient.DirEntry, SftpClient.Handle, SftpClient.OpenMode -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AtomicReference<SftpPath> private AtomicReference<Set<String>> Fields inherited from class SftpFileSystem.DelegatingClient
delegateFields inherited from class AbstractSftpClient
errorDataHandler, INIT_COMMAND_SIZE, SFTP_CLIENT_CMD_TIMEOUTFields inherited from class AbstractLoggingBean
logFields inherited from interface NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTORFields inherited from interface SftpClient
DEFAULT_CHANNEL_MODES, EMPTY_DIR_ENTRIES, IO_BUFFER_SIZE, MIN_BUFFER_SIZE, MIN_READ_BUFFER_SIZE, MIN_WRITE_BUFFER_SIZEFields inherited from interface SftpErrorDataHandler
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSftpClientEnriched(SftpClient delegate, SftpErrorDataHandler errorHandler, int readSize, int writeSize) -
Method Summary
Methods inherited from class SftpFileSystem.DelegatingClient
canonicalPath, close, close, getClientChannel, getClientSession, getNameDecodingCharset, getServerExtensions, getVersion, isClosing, isOpen, link, listDir, lock, lstat, mkdir, open, openDir, put, put, put, put, put, put, read, read, read, read, readDir, readDir, readLink, receive, receive, receive, remove, rename, rmdir, send, setNameDecodingCharset, setStat, setStat, stat, stat, symLink, unlock, write, write, write, write, writeMethods inherited from class AbstractSftpClient
checkAttributes, checkAttributesResponse, checkCommandStatus, checkDataResponse, checkDirResponse, checkHandle, checkHandleResponse, checkOneName, checkOneNameResponse, checkResponseStatus, checkResponseStatus, errorData, getChannel, getExtension, getExtension, getParsedServerExtensions, getParsedServerExtensions, getReadBufferSize, getReferencedName, getWriteBufferSize, handleUnexpectedAttributesPacket, handleUnexpectedHandlePacket, handleUnexpectedPacket, handleUnknownDataPacket, handleUnknownDirListingPacket, handleUnknownOneNamePacket, openRemoteFileChannel, put, putReferencedName, read, read, readAttributes, readDir, response, rpc, throwStatusException, write, writeAttributesMethods inherited from class AbstractSubsystemClient
toStringMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SessionHolder
getSessionContextMethods inherited from interface SftpClient
getExtension, getName, open, open, openRemoteFileChannel, openRemotePathChannel, openRemotePathChannel, put, put, put, put, put, read, read, read, read, readEntries, rename, rename, singleSessionInstance, write, write, writeMethods inherited from interface SubsystemClient
getSession
-
Field Details
-
supportedViews
-
defaultDir
-
-
Constructor Details
-
SftpClientEnriched
SftpClientEnriched(SftpClient delegate, SftpErrorDataHandler errorHandler, int readSize, int writeSize)
-
-
Method Details
-
supportedFileAttributeViews
-
getDefaultDir
- Throws:
IOException
-