|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JilterEOMActions
Contains the actions available during eom processing.
| Method Summary | |
|---|---|
void |
addheader(String headerf,
String headerv)
Add a header to the current message. |
void |
addrcpt(String rcpt)
Add a recipient for the current message. |
void |
chgheader(String headerf,
int hdridx,
String headerv)
Change or delete a message header. |
void |
delrcpt(String rcpt)
Removes the named recipient from the current message's envelope. |
void |
finish(JilterStatus status)
Set the resulting EOM status. |
void |
progress()
Notify the MTA that an operation is still in progress. |
void |
replacebody(ByteBuffer bodyp)
Replaces the body of the current message. |
| Method Detail |
|---|
void addheader(String headerf,
String headerv)
throws IOException
headerf - the header name.headerv - the header value.
IOException
void chgheader(String headerf,
int hdridx,
String headerv)
throws IOException
headerf - the header name.hdridx - header index value (1-based). A hdridx value of 1 will modify
the first occurrence of a header named headerf. If hdridx is greater than the number
of times headerf appears, a new copy of headerf will be added.headerv - the new value of the given header. headerv == null indicates
that the header should be deleted.
IOException
void addrcpt(String rcpt)
throws IOException
rcpt - the new recipient's address.
IOException
void delrcpt(String rcpt)
throws IOException
rcpt - the recipient address to be removed.
IOException
void replacebody(ByteBuffer bodyp)
throws IOException
bodyp - a buffer containing the new body data. Body data should be in CR/LF form.
IOException
void progress()
throws IOException
IOException
void finish(JilterStatus status)
throws IOException
status - the resulting status of EOM processing.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||