Package org.apache.sshd.server.command
Interface CommandDirectErrorStreamAware
- All Known Subinterfaces:
AsyncCommand,Command,CommandDirectStreamsAware
- All Known Implementing Classes:
AbstractCommandSupport,AbstractFileSystemCommand,InvertedShellWrapper,ScpCommand,ScpShell,SftpSubsystem,UnknownCommand
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSet the error stream that can be used by the shell to write its errors.
-
Method Details
-
setErrorStream
Set the error stream that can be used by the shell to write its errors.- Parameters:
err- TheOutputStreamused by the shell to write its errors
-