public class InboundOutboundClassifier extends java.lang.Object implements IMilterListener
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
InboundOutboundClassifier.ClassifiedAddress  | 
static class  | 
InboundOutboundClassifier.TrafficClass  | 
IMilterListener.Status| Constructor and Description | 
|---|
InboundOutboundClassifier(com.netflix.spectator.api.Registry registry,
                         IdFactory idFactory)  | 
| Modifier and Type | Method and Description | 
|---|---|
IMilterListener.Status | 
onBody(java.nio.ByteBuffer bodyp)
Called to handle a piece of a message's body 
 | 
IMilterListener.Status | 
onEnvFrom(java.lang.String envFrom)
Called to handle the envelope FROM command 
 | 
IMilterListener.Status | 
onEnvRcpt(java.lang.String rcpt)
Called to handle the envelope RCPT command. 
 | 
IMilterListener.Status | 
onEoh()
Called to handle the end of message headers 
 | 
IMilterListener.Status | 
onHeader(java.lang.String headerf,
        java.lang.String headerv)
Called to handle message header 
 | 
IMilterListener.Status | 
onMessage(SmtpEnvelope envelope,
         org.apache.james.mime4j.dom.Message message)
Called for each message 
 | 
public InboundOutboundClassifier(com.netflix.spectator.api.Registry registry,
                                 IdFactory idFactory)
public IMilterListener.Status onEnvFrom(java.lang.String envFrom)
IMilterListeneronEnvFrom in interface IMilterListenerpublic IMilterListener.Status onEnvRcpt(java.lang.String rcpt)
IMilterListeneronEnvRcpt in interface IMilterListenerpublic IMilterListener.Status onHeader(java.lang.String headerf, java.lang.String headerv)
IMilterListeneronHeader in interface IMilterListenerpublic IMilterListener.Status onEoh()
IMilterListeneronEoh in interface IMilterListenerpublic IMilterListener.Status onBody(java.nio.ByteBuffer bodyp)
IMilterListeneronBody in interface IMilterListenerpublic IMilterListener.Status onMessage(SmtpEnvelope envelope, org.apache.james.mime4j.dom.Message message)
IMilterListeneronMessage in interface IMilterListenerCopyright © 2023. All Rights Reserved.