public class UnknownCmdHandler extends AbstractHookableCmdHandler<UnknownHook>
| Constructor and Description |
|---|
UnknownCmdHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected HookResult |
callHook(UnknownHook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
protected Response |
doCoreCmd(SMTPSession session,
String command,
String parameters)
Execute the core commandHandling.
|
protected Response |
doFilterChecks(SMTPSession session,
String command,
String parameters)
Execute Syntax checks and return a SMTPResponse if a syntax error was
detected, otherwise null.
|
protected Class<UnknownHook> |
getHookInterface()
Return the interface which hooks need to implement to hook in
|
Collection<String> |
getImplCommands()
Return a Collection of implemented commands
|
calcDefaultSMTPResponse, getHooks, getMarkerInterfaces, onCommand, wireExtensionspublic Collection<String> getImplCommands()
CommandHandlerCommandHandler.getImplCommands()protected Response doCoreCmd(SMTPSession session, String command, String parameters)
AbstractHookableCmdHandlerdoCoreCmd in class AbstractHookableCmdHandler<UnknownHook>protected Response doFilterChecks(SMTPSession session, String command, String parameters)
AbstractHookableCmdHandlerdoFilterChecks in class AbstractHookableCmdHandler<UnknownHook>nullprotected HookResult callHook(UnknownHook rawHook, SMTPSession session, String parameters)
AbstractHookableCmdHandlercallHook in class AbstractHookableCmdHandler<UnknownHook>rawHook - the hooksession - the sessionparameters - the parametersprotected Class<UnknownHook> getHookInterface()
AbstractHookableCmdHandlergetHookInterface in class AbstractHookableCmdHandler<UnknownHook>Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.