Uses of Interface
org.apache.james.protocols.smtp.SMTPSession

Packages that use SMTPSession
org.apache.james.protocols.smtp   
org.apache.james.protocols.smtp.core   
org.apache.james.protocols.smtp.core.esmtp   
org.apache.james.protocols.smtp.core.fastfail   
org.apache.james.protocols.smtp.core.log   
org.apache.james.protocols.smtp.hook   
 

Uses of SMTPSession in org.apache.james.protocols.smtp
 

Classes in org.apache.james.protocols.smtp that implement SMTPSession
 class SMTPSessionImpl
          SMTPSession implementation
 

Method parameters in org.apache.james.protocols.smtp with type arguments of type SMTPSession
 void SMTPSessionImpl.pushLineHandler(LineHandler<SMTPSession> overrideCommandHandler)
           
 void SMTPSession.pushLineHandler(LineHandler<SMTPSession> overrideCommandHandler)
          Put a new line handler in the chain
 

Uses of SMTPSession in org.apache.james.protocols.smtp.core
 

Methods in org.apache.james.protocols.smtp.core that return types with arguments of type SMTPSession
protected  LineHandler<SMTPSession> DataCmdHandler.getLineHandler()
           
protected  CommandHandler<SMTPSession> SMTPCommandDispatcherLineHandler.getUnknownCommandHandler()
           
 

Methods in org.apache.james.protocols.smtp.core with parameters of type SMTPSession
protected  HookResult HeloCmdHandler.callHook(HeloHook rawHook, SMTPSession session, String parameters)
          Must be implemented by hookable cmd handlers to make the effective call to an hook.
protected abstract  HookResult AbstractHookableCmdHandler.callHook(Hook rawHook, SMTPSession session, String parameters)
          Must be implemented by hookable cmd handlers to make the effective call to an hook.
protected  HookResult MailCmdHandler.callHook(MailHook rawHook, SMTPSession session, String parameters)
          Must be implemented by hookable cmd handlers to make the effective call to an hook.
protected  HookResult QuitCmdHandler.callHook(QuitHook rawHook, SMTPSession session, String parameters)
          Must be implemented by hookable cmd handlers to make the effective call to an hook.
protected  HookResult RcptCmdHandler.callHook(RcptHook rawHook, SMTPSession session, String parameters)
          Must be implemented by hookable cmd handlers to make the effective call to an hook.
protected  HookResult UnknownCmdHandler.callHook(UnknownHook rawHook, SMTPSession session, String parameters)
           
protected  MailEnvelope DataCmdHandler.createEnvelope(SMTPSession session, org.apache.mailet.MailAddress sender, List<org.apache.mailet.MailAddress> recipients)
           
protected  SMTPResponse UnknownCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse RcptCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
          Handler method called upon receipt of a RCPT command.
protected  SMTPResponse QuitCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse MailCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse HeloCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
           
protected abstract  SMTPResponse AbstractHookableCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
          Execute the core commandHandling.
protected  SMTPResponse DataCmdHandler.doDATA(SMTPSession session, String argument)
          Handler method called upon receipt of a DATA command.
protected  SMTPResponse DataCmdHandler.doDATAFilter(SMTPSession session, String argument)
           
protected  SMTPResponse UnknownCmdHandler.doFilterChecks(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse RcptCmdHandler.doFilterChecks(SMTPSession session, String command, String argument)
           
protected  SMTPResponse QuitCmdHandler.doFilterChecks(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse MailCmdHandler.doFilterChecks(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse HeloCmdHandler.doFilterChecks(SMTPSession session, String command, String parameters)
           
protected abstract  SMTPResponse AbstractHookableCmdHandler.doFilterChecks(SMTPSession session, String command, String parameters)
          Execute Syntax checks and return a SMTPResponse if a syntax error was detected, otherwise null.
 HookResult PostmasterAbuseRcptHook.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult AcceptRecipientIfRelayingIsAllowed.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult AbstractSenderAuthIdentifyVerificationRcptHook.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult AbstractAuthRequiredToRelayRcptHook.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 Response VrfyCmdHandler.onCommand(SMTPSession session, Request request)
          Handler method called upon receipt of a VRFY command.
 Response RsetCmdHandler.onCommand(SMTPSession session, Request request)
          handles RSET command
 Response NoopCmdHandler.onCommand(SMTPSession session, Request request)
          Handler method called upon receipt of a NOOP command.
 Response MailCmdHandler.onCommand(SMTPSession session, Request request)
           
 Response HelpCmdHandler.onCommand(SMTPSession session, Request request)
          handles HELP command
 Response ExpnCmdHandler.onCommand(SMTPSession session, Request request)
          Handler method called upon receipt of a EXPN command.
 Response DataCmdHandler.onCommand(SMTPSession session, Request request)
          process DATA command
 Response AbstractHookableCmdHandler.onCommand(SMTPSession session, Request request)
          Handle command processing
 Response WelcomeMessageHandler.onConnect(SMTPSession session)
           
 SMTPResponse DataCmdHandler.DataConsumerLineHandler.onLine(SMTPSession session, byte[] line)
           
 Response DataCmdHandler.DataLineFilterWrapper.onLine(SMTPSession session, byte[] line)
           
 Response ReceivedDataLineFilter.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
           
 Response DataLineMessageHookHandler.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
           
 Response DataLineFilter.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
          Handle line processing
protected  Response DataLineMessageHookHandler.processExtensions(SMTPSession session, MailEnvelopeImpl mail)
           
 

Method parameters in org.apache.james.protocols.smtp.core with type arguments of type SMTPSession
 Response ReceivedDataLineFilter.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
           
 Response DataLineMessageHookHandler.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
           
 Response DataLineFilter.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
          Handle line processing
 

Constructor parameters in org.apache.james.protocols.smtp.core with type arguments of type SMTPSession
DataCmdHandler.DataLineFilterWrapper(DataLineFilter filter, LineHandler<SMTPSession> next)
           
 

Uses of SMTPSession in org.apache.james.protocols.smtp.core.esmtp
 

Methods in org.apache.james.protocols.smtp.core.esmtp with parameters of type SMTPSession
protected  HookResult EhloCmdHandler.callHook(HeloHook rawHook, SMTPSession session, String parameters)
          Must be implemented by hookable cmd handlers to make the effective call to an hook.
protected  SMTPResponse EhloCmdHandler.doCoreCmd(SMTPSession session, String command, String parameters)
           
protected  SMTPResponse EhloCmdHandler.doFilterChecks(SMTPSession session, String command, String parameters)
           
 HookResult MailSizeEsmtpExtension.doMailParameter(SMTPSession session, String paramName, String paramValue)
           
 HookResult AuthCmdHandler.doMailParameter(SMTPSession session, String paramName, String paramValue)
           
 List<String> StartTlsCmdHandler.getImplementedEsmtpFeatures(SMTPSession session)
           
 List<String> MailSizeEsmtpExtension.getImplementedEsmtpFeatures(SMTPSession session)
           
 List<String> EhloExtension.getImplementedEsmtpFeatures(SMTPSession session)
           
 List<String> EhloCmdHandler.getImplementedEsmtpFeatures(SMTPSession session)
           
 List<String> AuthCmdHandler.getImplementedEsmtpFeatures(SMTPSession session)
           
 Response StartTlsCmdHandler.onCommand(SMTPSession session, Request request)
          Handler method called upon receipt of a STARTTLS command.
 Response AuthCmdHandler.onCommand(SMTPSession session, Request request)
          handles AUTH command
 Response MailSizeEsmtpExtension.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
           
 HookResult MailSizeEsmtpExtension.onMessage(SMTPSession session, MailEnvelope mail)
           
 

Method parameters in org.apache.james.protocols.smtp.core.esmtp with type arguments of type SMTPSession
 Response MailSizeEsmtpExtension.onLine(SMTPSession session, byte[] line, LineHandler<SMTPSession> next)
           
 

Uses of SMTPSession in org.apache.james.protocols.smtp.core.fastfail
 

Methods in org.apache.james.protocols.smtp.core.fastfail with parameters of type SMTPSession
protected  boolean ValidSenderDomainHandler.check(SMTPSession session, org.apache.mailet.MailAddress senderAddress)
           
protected  boolean ResolvableEhloHeloHandler.check(SMTPSession session, org.apache.mailet.MailAddress rcpt)
           
 void DNSRBLHandler.checkDNSRBL(SMTPSession session, String ipAddress)
          This checks DNSRBL whitelists and blacklists.
protected  void ResolvableEhloHeloHandler.checkEhloHelo(SMTPSession session, String argument)
          Check if EHLO/HELO is resolvable
 HookResult ResolvableEhloHeloHandler.doHelo(SMTPSession session, String helo)
           
 HookResult ValidSenderDomainHandler.doMail(SMTPSession session, org.apache.mailet.MailAddress sender)
           
 HookResult SupressDuplicateRcptHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult SpamTrapHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult ResolvableEhloHeloHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult MaxRcptHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult DNSRBLHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult AbstractValidRcptHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult AbstractGreylistHandler.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
           
 HookResult MaxUnknownCmdHandler.doUnknown(SMTPSession session, String command)
           
protected  boolean ReverseEqualsEhloHeloHandler.isBadHelo(SMTPSession session, String argument)
           
protected  boolean ResolvableEhloHeloHandler.isBadHelo(SMTPSession session, String argument)
           
protected abstract  boolean AbstractValidRcptHandler.isLocalDomain(SMTPSession session, String domain)
          Return true if the domain is local
protected abstract  boolean AbstractValidRcptHandler.isValidRecipient(SMTPSession session, org.apache.mailet.MailAddress recipient)
          Return true if email for the given recipient should get accepted
 

Uses of SMTPSession in org.apache.james.protocols.smtp.core.log
 

Methods in org.apache.james.protocols.smtp.core.log with parameters of type SMTPSession
 HookResult HookResultLogger.onHookResult(SMTPSession session, HookResult hResult, long executionTime, Hook hook)
           
 

Uses of SMTPSession in org.apache.james.protocols.smtp.hook
 

Methods in org.apache.james.protocols.smtp.hook with parameters of type SMTPSession
 HookResult AuthHook.doAuth(SMTPSession session, String username, String password)
          Return the HookResult after run the hook
 HookResult SimpleHook.doHelo(SMTPSession session, String helo)
          Return HookResult with HookReturnCode.DECLINED
 HookResult HeloHook.doHelo(SMTPSession session, String helo)
          Return the HookResult after run the hook
 HookResult SimpleHook.doMail(SMTPSession session, org.apache.mailet.MailAddress sender)
          Return HookResult with HookReturnCode.DECLINED
 HookResult MailHook.doMail(SMTPSession session, org.apache.mailet.MailAddress sender)
          Return the HookResult after run the hook
 HookResult MailParametersHook.doMailParameter(SMTPSession session, String paramName, String paramValue)
          Return the HookResult after run the hook
 HookResult QuitHook.doQuit(SMTPSession session)
          Return the HookResult after run the hook
 HookResult SimpleHook.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
          Return HookResult with HookReturnCode.DECLINED
 HookResult RcptHook.doRcpt(SMTPSession session, org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress rcpt)
          Return the HookResult after run the hook
 HookResult UnknownHook.doUnknown(SMTPSession session, String command)
          Called on unknown smtp command
 HookResult HookResultHook.onHookResult(SMTPSession session, HookResult result, long executionTime, Hook object)
           
 HookResult SimpleHook.onMessage(SMTPSession session, MailEnvelope mail)
          Return HookResult with HookReturnCode.OK
 HookResult MessageHook.onMessage(SMTPSession session, MailEnvelope mail)
          Handle Message
 



Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.