public class EchoCommandService extends CommandService {
/**
* @see CommandExecutor#execute(Command, java.io.InputStream, java.io.OutputStream)
*/
public CommandResponse execute(Command command, InputStream in, OutputStream out) {
EchoCommand echoCommand = new EchoCommand(command);
String msg = echoCommand.getMessage();
String prefix = echoCommand.getPrefix();
if (msg == null) {
msg = "<null echo message>";
}