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

public abstract Class AbstractConnectionServiceRequestHandler

extends AbstractLoggingBean
implements ConnectionServiceRequestHandler
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.session.ConnectionServiceRequestHandler, org.apache.sshd.common.channel.RequestHandler
Known Direct Subclasses
org.apache.sshd.server.global.CancelTcpipForwardHandler, org.apache.sshd.server.global.NoMoreSessionsHandler, org.apache.sshd.server.global.TcpipForwardHandler, org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler, org.apache.sshd.common.global.KeepAliveHandler
Imports
org.apache.sshd.common.session.ConnectionService, .ConnectionServiceRequestHandler, org.apache.sshd.common.util.buffer.Buffer, org.apache.sshd.common.util.logging.AbstractLoggingBean

Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
log

Constructor Summary

AccessConstructor and Description
protected

Method Summary

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

Implements org.apache.sshd.common.session.ConnectionServiceRequestHandler.process.

Process an SSH request.

Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
debugdebugdebugdebugdebugerrorerrorerrorerrorerrorgetSimplifiedLoggerinfoinfowarnwarnwarnwarnwarnwarnwarnwarn

Constructor Detail

AbstractConnectionServiceRequestHandlerback to summary
protected AbstractConnectionServiceRequestHandler()

Method Detail

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

Implements org.apache.sshd.common.session.ConnectionServiceRequestHandler.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
connectionService: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