|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.protocols.smtp.core.AbstractHookableCmdHandler<HeloHook>
org.apache.james.protocols.smtp.core.HeloCmdHandler
public class HeloCmdHandler
Handles HELO command
| Constructor Summary | |
|---|---|
HeloCmdHandler()
|
|
| Method Summary | |
|---|---|
protected HookResult |
callHook(HeloHook rawHook,
SMTPSession session,
java.lang.String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook. |
protected SMTPResponse |
doCoreCmd(SMTPSession session,
java.lang.String command,
java.lang.String parameters)
Execute the core commandHandling. |
protected SMTPResponse |
doFilterChecks(SMTPSession session,
java.lang.String command,
java.lang.String parameters)
Execute Syntax checks and return a SMTPResponse if a syntax error was detected, otherwise null. |
protected java.lang.Class<HeloHook> |
getHookInterface()
Return the interface which hooks need to implement to hook in |
java.util.Collection<java.lang.String> |
getImplCommands()
|
| Methods inherited from class org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler |
|---|
calcDefaultSMTPResponse, getHooks, getMarkerInterfaces, onCommand, wireExtensions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeloCmdHandler()
| Method Detail |
|---|
public java.util.Collection<java.lang.String> getImplCommands()
org.apache.james.smtpserver.protocol.CommandHandler#getImplCommands()
protected SMTPResponse doCoreCmd(SMTPSession session,
java.lang.String command,
java.lang.String parameters)
AbstractHookableCmdHandler
doCoreCmd in class AbstractHookableCmdHandler<HeloHook>AbstractHookableCmdHandler.doCoreCmd(org.apache.james.protocols.smtp.SMTPSession,
java.lang.String, java.lang.String)
protected SMTPResponse doFilterChecks(SMTPSession session,
java.lang.String command,
java.lang.String parameters)
AbstractHookableCmdHandler
doFilterChecks in class AbstractHookableCmdHandler<HeloHook>AbstractHookableCmdHandler.doFilterChecks(org.apache.james.protocols.smtp.SMTPSession,
java.lang.String, java.lang.String)protected java.lang.Class<HeloHook> getHookInterface()
AbstractHookableCmdHandler
getHookInterface in class AbstractHookableCmdHandler<HeloHook>AbstractHookableCmdHandler.getHookInterface()
protected HookResult callHook(HeloHook rawHook,
SMTPSession session,
java.lang.String parameters)
AbstractHookableCmdHandler
callHook in class AbstractHookableCmdHandler<HeloHook>rawHook - the hooksession - the sessionparameters - the parameters
AbstractHookableCmdHandler.callHook(java.lang.Object, org.apache.james.protocols.smtp.SMTPSession, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||