org.apache.james.protocols.smtp.core.esmtp
Class StartTlsCmdHandler
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartTlsCmdHandler
public StartTlsCmdHandler()
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.