FileDocCategorySizeDatePackage
HelpCmdHandler.javaAPI DocApache James 2.3.11872Fri Jan 12 12:56:26 GMT 2007org.apache.james.smtpserver

HelpCmdHandler

public class HelpCmdHandler extends Object implements CommandHandler
Handles HELP command

Fields Summary
private static final String
COMMAND_NAME
The name of the command handled by the command handler
Constructors Summary
Methods Summary
public voidonCommand(SMTPSession session)



    /*
     * handles HELP command
     *
     * @see org.apache.james.smtpserver.CommandHandler#onCommand(SMTPSession)
    **/
        
        String responseString = "502 "+DSNStatus.getStatus(DSNStatus.PERMANENT,DSNStatus.SYSTEM_NOT_CAPABLE)+" HELP is not supported";
        session.writeResponse(responseString);