public static final class AbstractAddHeadersFilter.Header extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MULTI_LINE_PREFIX |
String |
name |
List<String> |
values |
Constructor and Description |
---|
AbstractAddHeadersFilter.Header(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
AbstractAddHeadersFilter.Header |
add(String value)
Add the value to the header
|
Response |
transferTo(SMTPSession session,
LineHandler<SMTPSession> handler)
Transfer the content of the
AbstractAddHeadersFilter.Header to the given LineHandler . |
public static final String MULTI_LINE_PREFIX
public final String name
public AbstractAddHeadersFilter.Header add(String value)
value
- public Response transferTo(SMTPSession session, LineHandler<SMTPSession> handler)
AbstractAddHeadersFilter.Header
to the given LineHandler
.
This is done for each line of the AbstractAddHeadersFilter.Header
until the end is reached or the LineHandler.onLine(org.apache.james.protocols.api.ProtocolSession, ByteBuffer)
return non-null
session
- handler
- Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.