public class EchoCommand extends Object implements Command<EchoRequest,EchoResponse>
| Modifier and Type | Field and Description |
|---|---|
static Class<EchoRequest> |
REQUEST_CLASS |
| Constructor and Description |
|---|
EchoCommand() |
| Modifier and Type | Method and Description |
|---|---|
EchoResponse |
execute(EchoRequest echoRequest,
CommandContext context)
Performs the command for the feed.
|
public static final Class<EchoRequest> REQUEST_CLASS
public EchoResponse execute(EchoRequest echoRequest, CommandContext context)
Commandexecute in interface Command<EchoRequest,EchoResponse>echoRequest - the request that describes what needs to be executedcontext - some context data that can be useful for the command to be able to execute the requestCopyright © 2015 Red Hat, Inc.. All rights reserved.