org.apache.james.protocols.smtp.core.esmtp
Class StartTlsCmdHandler

java.lang.Object
  extended by org.apache.james.protocols.smtp.core.esmtp.StartTlsCmdHandler
All Implemented Interfaces:
CommandHandler<SMTPSession>, ProtocolHandler, EhloExtension

public class StartTlsCmdHandler
extends Object
implements CommandHandler<SMTPSession>, EhloExtension

Handles STARTTLS command


Constructor Summary
StartTlsCmdHandler()
           
 
Method Summary
 Collection<String> getImplCommands()
           
 List<String> getImplementedEsmtpFeatures(SMTPSession session)
           
 Response onCommand(SMTPSession session, Request request)
          Handler method called upon receipt of a STARTTLS command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartTlsCmdHandler

public StartTlsCmdHandler()
Method Detail

getImplCommands

public Collection<String> getImplCommands()
Specified by:
getImplCommands in interface CommandHandler<SMTPSession>
See Also:
CommandHandler.getImplCommands()

onCommand

public Response onCommand(SMTPSession session,
                          Request request)
Handler method called upon receipt of a STARTTLS command. Resets message-specific, but not authenticated user, state.

Specified by:
onCommand in interface CommandHandler<SMTPSession>

getImplementedEsmtpFeatures

public List<String> getImplementedEsmtpFeatures(SMTPSession session)
Specified by:
getImplementedEsmtpFeatures in interface EhloExtension
See Also:
EhloExtension.getImplementedEsmtpFeatures(org.apache.james.protocols.smtp.SMTPSession)


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.