|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.protocols.smtp.core.esmtp.MailSizeEsmtpExtension
public class MailSizeEsmtpExtension
Handle the ESMTP SIZE extension.
| Constructor Summary | |
|---|---|
MailSizeEsmtpExtension()
|
|
| Method Summary | |
|---|---|
HookResult |
doMailParameter(SMTPSession session,
java.lang.String paramName,
java.lang.String paramValue)
Return the HookResult after run the hook |
java.util.List<java.lang.String> |
getImplementedEsmtpFeatures(SMTPSession session)
|
java.lang.String[] |
getMailParamNames()
|
void |
onLine(SMTPSession session,
byte[] line,
LineHandler<SMTPSession> next)
Handle line processing |
HookResult |
onMessage(SMTPSession session,
MailEnvelope mail)
Handle Message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailSizeEsmtpExtension()
| Method Detail |
|---|
public HookResult doMailParameter(SMTPSession session,
java.lang.String paramName,
java.lang.String paramValue)
MailParametersHook
doMailParameter in interface MailParametersHooksession - the SMTPSessionparamName - parameter nameparamValue - parameter value
MailParametersHook.doMailParameter(org.apache.james.protocols.smtp.SMTPSession, java.lang.String, java.lang.String)public java.lang.String[] getMailParamNames()
getMailParamNames in interface MailParametersHookMailParametersHook.getMailParamNames()public java.util.List<java.lang.String> getImplementedEsmtpFeatures(SMTPSession session)
getImplementedEsmtpFeatures in interface EhloExtensionEhloExtension.getImplementedEsmtpFeatures(org.apache.james.protocols.smtp.SMTPSession)
public void onLine(SMTPSession session,
byte[] line,
LineHandler<SMTPSession> next)
DataLineFilter
onLine in interface DataLineFilter
public HookResult onMessage(SMTPSession session,
MailEnvelope mail)
MessageHook
onMessage in interface MessageHookorg.apache.james.protocols.smtp.hook.MessageHook#onMessage(org.apache.james.protocols.smtp.SMTPSession, org.apache.james.protocols.smtp.MailEnvelopeImpl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||