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, onSeparatorLineonBodyLine, onLineprotected String getServiceType(SMTPSession session, String heloMode)
session - heloMode - protected org.apache.james.protocols.smtp.core.AbstractAddHeadersFilter.Location getLocation()
Location#SuffixgetLocation in class AbstractAddHeadersFilterprotected Collection<AbstractAddHeadersFilter.Header> headers(SMTPSession session)
headers in class AbstractAddHeadersFilterCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.