public class DefaultSftpletContainer extends Object implements Sftplet
Constructor and Description |
---|
DefaultSftpletContainer() |
Modifier and Type | Method and Description |
---|---|
void |
add(Sftplet sftpLet) |
Reply |
afterCommand(SftpSession session,
Request sftpRequest,
Reply sftpReply)
Called after the server as invoked the command.
|
Reply |
beforeCommand(SftpSession session,
Request sftpRequest)
Called before the server invoke the command.
|
void |
onConnect(SftpSession session)
Client connect notification method.
|
void |
onDisconnect(SftpSession session)
Client disconnect notification method.
|
public void onConnect(SftpSession session)
public void onDisconnect(SftpSession session)
onDisconnect
in interface Sftplet
session
- The according session.public Reply beforeCommand(SftpSession session, Request sftpRequest)
beforeCommand
in interface Sftplet
session
- The according session.sftpRequest
- The sftp request.public Reply afterCommand(SftpSession session, Request sftpRequest, Reply sftpReply) throws IOException
afterCommand
in interface Sftplet
session
- The according session.sftpRequest
- The sftp request.sftpReply
- The sftp reply.IOException
- If an error occured.public void add(Sftplet sftpLet)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.