public class ReceivedDataLineFilter extends AbstractAddHeadersFilter
AbstractAddHeadersFilter
which adds the Received header for the message.AbstractAddHeadersFilter.Header
Constructor and Description |
---|
ReceivedDataLineFilter() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.james.protocols.smtp.core.AbstractAddHeadersFilter.Location |
getLocation()
The Received header is added in front of the received headers.
|
protected String |
getServiceType(SMTPSession session,
String heloMode)
Return the service type which will be used in the Received headers
|
protected Collection<AbstractAddHeadersFilter.Header> |
headers(SMTPSession session)
Return the Received header for the message
|
onHeadersLine, onSeparatorLine
onBodyLine, onLine
protected String getServiceType(SMTPSession session, String heloMode)
session
- heloMode
- protected org.apache.james.protocols.smtp.core.AbstractAddHeadersFilter.Location getLocation()
Location#Suffix
getLocation
in class AbstractAddHeadersFilter
protected Collection<AbstractAddHeadersFilter.Header> headers(SMTPSession session)
headers
in class AbstractAddHeadersFilter
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.