|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ReceivedHeaderParser interface represents a class which can parse a "received" header of an email message.
Method Summary | |
ReceivedHeaderParserData |
parse(String header,
InetAddressResolver resolver)
Parses a single received header line. |
Method Detail |
public ReceivedHeaderParserData parse(String header, InetAddressResolver resolver) throws JasenParseException
We expect the Received header to be in the form:
received = "Received" ":" ; one per relay ["from" domain] ; sending host ["by" domain] ; receiving host ["via" atom] ; physical path *("with" atom) ; link/mail protocol ["id" msg-id] ; receiver msg id ["for" addr-spec] ; initial form
header
-
JasenParseException
- only if a parse failed due to an unexpected error. Or a parse could not complete due to
a malformed header line
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |