Package org.apache.sshd.common.session
Interface ConnectionServiceRequestHandler
- All Superinterfaces:
RequestHandler<ConnectionService>
- All Known Implementing Classes:
AbstractConnectionServiceRequestHandler,AbstractOpenSshHostKeysHandler,CancelTcpipForwardHandler,KeepAliveHandler,NoMoreSessionsHandler,OpenSshHostKeysHandler,OpenSshHostKeysHandler,TcpipForwardHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.channel.RequestHandler
RequestHandler.Result -
Field Summary
FieldsModifier 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:RequestHandlerProcess 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:
processin interfaceRequestHandler<ConnectionService>- Parameters:
service- The input parameterrequest- The request stringwantReply- Whether a reply is requestedbuffer- TheBufferwith 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.Unsupportedvalue should be returned
-