public class TcpipForwardHandler extends AbstractConnectionServiceRequestHandler
RequestHandler.Result| Modifier and Type | Field and Description |
|---|---|
static TcpipForwardHandler |
INSTANCE |
static String |
REQUEST |
static IntUnaryOperator |
RESPONSE_BUFFER_GROWTH_FACTOR
Default growth factor function used to resize response buffers
|
logSVC2HNDLR| Constructor and Description |
|---|
TcpipForwardHandler() |
| Modifier and Type | Method and Description |
|---|---|
RequestHandler.Result |
process(ConnectionService connectionService,
String request,
boolean wantReply,
Buffer buffer)
Process an SSH request.
|
public static final String REQUEST
public static final IntUnaryOperator RESPONSE_BUFFER_GROWTH_FACTOR
public static final TcpipForwardHandler INSTANCE
public RequestHandler.Result process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer) throws Exception
RequestHandlerprocess in interface RequestHandler<ConnectionService>process in interface ConnectionServiceRequestHandlerprocess in class AbstractConnectionServiceRequestHandlerconnectionService - The input parameterrequest - The request stringwantReply - Whether a reply is requestedbuffer - The Buffer with request specific dataRequestHandler.ResultException - If failed to handle the request - Note: in order to signal an unsupported request the
RequestHandler.Result.Unsupported value should be returnedCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.