Package org.apache.sshd.common.session
Interface ConnectionServiceRequestHandler
- All Superinterfaces:
RequestHandler<ConnectionService>
- All Known Implementing Classes:
AbstractConnectionServiceRequestHandler
,AbstractOpenSshHostKeysHandler
,CancelTcpipForwardHandler
,KeepAliveHandler
,NoMoreSessionsHandler
,OpenSshHostKeysHandler
,OpenSshHostKeysHandler
,TcpipForwardHandler
- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.channel.RequestHandler
RequestHandler.Result
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<ConnectionServiceRequestHandler,
RequestHandler<ConnectionService>> -
Method Summary
Modifier and TypeMethodDescriptionprocess
(ConnectionService service, String request, boolean wantReply, Buffer buffer) Process an SSH request.
-
Field Details
-
SVC2HNDLR
-
-
Method Details
-
process
RequestHandler.Result process(ConnectionService service, String request, boolean wantReply, Buffer buffer) throws Exception Description copied from interface:RequestHandler
Process an SSH request. If an exception is thrown, the ConnectionService will send a failure message if needed and the request will be considered handled.- Specified by:
process
in interfaceRequestHandler<ConnectionService>
- Parameters:
service
- The input parameterrequest
- The request stringwantReply
- Whether a reply is requestedbuffer
- TheBuffer
with request specific data- Returns:
- The
RequestHandler.Result
- Throws:
Exception
- If failed to handle the request - Note: in order to signal an unsupported request theRequestHandler.Result.Unsupported
value should be returned
-