public class DefaultCommandService extends Object implements CommandService, RequestedService
| Modifier and Type | Field and Description |
|---|---|
private com.fasterxml.jackson.databind.ObjectMapper |
objectMapper
ObjectMapper. |
private RequestManager |
requestManager
|
| Constructor and Description |
|---|
DefaultCommandService() |
| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
processCommand(CommandRequest commandRequest,
String fileId)
Process command request.
|
private RequestManager requestManager
private final com.fasterxml.jackson.databind.ObjectMapper objectMapper
ObjectMapper.public CommandResponse processCommand(CommandRequest commandRequest, String fileId) throws Exception
CommandServiceprocessCommand in interface CommandServicecommandRequest - The CommandRequest object.fileId - The ID of the file.CommandResponse object.Exception - If the processing fails unexpectedly.CommandRequestCopyright © 2023–2024. All rights reserved.