org.subethamail.smtp.server
Class RequireTLSCommandWrapper
java.lang.Object
org.subethamail.smtp.server.RequireTLSCommandWrapper
- All Implemented Interfaces:
- Command
public class RequireTLSCommandWrapper
- extends java.lang.Object
- implements Command
Verifies the presence of a TLS connection if TLS is required.
The wrapped command is executed when the test succeeds.
- Author:
- Erik van Oosten
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequireTLSCommandWrapper
public RequireTLSCommandWrapper(Command wrapped)
- Parameters:
wrapped - the wrapped command (not null)
execute
public void execute(java.lang.String commandString,
Session sess)
throws java.io.IOException
- Specified by:
execute in interface Command
- Throws:
java.io.IOException
getHelp
public HelpMessage getHelp()
throws CommandException
- Specified by:
getHelp in interface Command
- Throws:
CommandException
getName
public java.lang.String getName()
- Specified by:
getName in interface Command
Copyright © 2006-2011. All Rights Reserved.