public class EchoCommand extends Object implements WsCommand<EchoRequest>
| Constructor and Description |
|---|
EchoCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(BasicMessageWithExtraData<EchoRequest> message,
WsCommandContext context)
Performs the command for the given
message. |
public void execute(BasicMessageWithExtraData<EchoRequest> message, WsCommandContext context) throws IOException
WsCommandmessage.execute in interface WsCommand<EchoRequest>message - the request to executecontext - some context data that can be useful for the command to be able to execute the requestIOExceptionCopyright © 2014–2017 Red Hat, Inc.. All rights reserved.