* @see org.apache.james.protocols.api.CommandHandler#onCommand(org.apache.james.protocols.api.ProtocolSession, org.apache.james.protocols.api.Request)
*/
public Response onCommand(RemoteManagerSession session, Request request) {
RemoteManagerResponse response = null;
for (int i = 0; i < extensions.size(); i++) {
CommandHandler cmd = extensions.get(i);
CommandHelp help = cmd.getHelp();
if (help != null) {
if (response == null) {
response = new RemoteManagerResponse(help.getSyntax() + "\t" + help.getDescription());
} else {
response.appendLine(help.getSyntax() + "\t" + help.getDescription());