Class DetailedSftpErrorStatusDataHandler
java.lang.Object
org.apache.sshd.contrib.server.subsystem.sftp.DetailedSftpErrorStatusDataHandler
- All Implemented Interfaces:
org.apache.sshd.sftp.server.SftpErrorStatusDataHandler
public class DetailedSftpErrorStatusDataHandler
extends Object
implements org.apache.sshd.sftp.server.SftpErrorStatusDataHandler
An
SftpErrorStatusDataHandler
implementation that returns an elaborate message string for the thrown
exception - thus potentially "leaking" information about the internal implementation and/or real paths.
Recommended for debugging or systems where such leakage is not considered a security risk-
Field Summary
FieldsFields inherited from interface org.apache.sshd.sftp.server.SftpErrorStatusDataHandler
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveErrorMessage
(org.apache.sshd.sftp.server.SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int subStatus, int cmd, Object... args) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.sshd.sftp.server.SftpErrorStatusDataHandler
resolveErrorLanguage, resolveSubStatus
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DetailedSftpErrorStatusDataHandler
public DetailedSftpErrorStatusDataHandler()
-
-
Method Details