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)
IMilterListener
onEnvFrom
in interface IMilterListener
public IMilterListener.Status onEnvRcpt(java.lang.String rcpt)
IMilterListener
onEnvRcpt
in interface IMilterListener
public IMilterListener.Status onHeader(java.lang.String headerf, java.lang.String headerv)
IMilterListener
onHeader
in interface IMilterListener
public IMilterListener.Status onEoh()
IMilterListener
onEoh
in interface IMilterListener
public IMilterListener.Status onBody(java.nio.ByteBuffer bodyp)
IMilterListener
onBody
in interface IMilterListener
public IMilterListener.Status onMessage(SmtpEnvelope envelope, org.apache.james.mime4j.dom.Message message)
IMilterListener
onMessage
in interface IMilterListener
Copyright © 2021. All Rights Reserved.