Top Fields Methods
org.apache.sshd.common.session

public Interface ConnectionServiceRequestHandler

extends RequestHandler<ConnectionService>
Known Direct Implementers
org.apache.sshd.common.session.helpers.AbstractConnectionServiceRequestHandler
Imports
java.util.function.Function, org.apache.sshd.common.channel.RequestHandler, org.apache.sshd.common.util.GenericUtils, org.apache.sshd.common.util.buffer.Buffer

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final Function<ConnectionServiceRequestHandler, RequestHandler<ConnectionService>>

Method Summary

Modifier and TypeMethod and Description
public RequestHandler.Result
process(ConnectionService
The input parameter
service
,
String
The request string
request
,
boolean
Whether a reply is requested
wantReply
,
Buffer
The Buffer with request specific data
buffer
)

Redeclares org.apache.sshd.common.channel.RequestHandler.process.

Process an SSH request.

Field Detail

SVC2HNDLRback to summary
public static final Function<ConnectionServiceRequestHandler, RequestHandler<ConnectionService>> SVC2HNDLR

Method Detail

processback to summary
public RequestHandler.Result process(ConnectionService service, String request, boolean wantReply, Buffer buffer) throws Exception

Redeclares org.apache.sshd.common.channel.RequestHandler.process.

Doc from org.apache.sshd.common.channel.RequestHandler.process.

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.

Parameters
service:ConnectionService

The input parameter

request:String

The request string

wantReply:boolean

Whether a reply is requested

buffer:Buffer

The Buffer with request specific data

Returns:RequestHandler.Result

The Result

Annotations
@Override
Exceptions
Exception:
If failed to handle the request - Note: in order to signal an unsupported request the Result#Unsupported value should be returned