Consumer
Namespaces
- Received
Interfaces, Classes, Traits and Enums
- IConsumerService
- Interface defining a consumer service class.
- AbstractConsumerService
- Abstract base class for all header token consumers.
- AbstractGenericConsumerService
- A minimal implementation of AbstractConsumerService splitting tokens by
whitespace.
- AddressBaseConsumerService
- Serves as a base-consumer for recipient/sender email address headers (like
From and To).
- AddressConsumerService
- Parses a single part of an address header.
- AddressEmailConsumerService
- Parses the Address portion of an email address header, for an address part
that contains both a name and an email address, e.g. "name" <email@tld.com>.
- AddressGroupConsumerService
- Parses a single group of addresses (as a named-group part of an address
header).
- CommentConsumerService
- Consumes all tokens within parentheses as comments.
- DateConsumerService
- Parses a date header into a Part\DatePart taking care of comment and quoted
parts as necessary.
- GenericConsumerMimeLiteralPartService
- GenericConsumerMimeLiteralPartService uses a MimeTokenPartFactory instead
of a HeaderPartFactory.
- GenericConsumerService
- The base GenericConsumerService is a consumer with CommentConsumerService and
QuotedStringConsumerService as sub-consumers, and splitting tokens by
whitespace.
- IdBaseConsumerService
- Serves as a base-consumer for ID headers (like Message-ID and Content-ID).
- IdConsumerService
- Parses a single ID from an ID header. Begins consuming on a '<' char, and
ends on a '>' char.
- ParameterConsumerService
- Reads headers separated into parameters consisting of an optional main value,
and subsequent name/value pairs - for example text/html; charset=utf-8.
- QuotedStringConsumerService
- Represents a quoted part of a header value starting at a double quote, and
ending at the next double quote.
- ReceivedConsumerService
- Parses a Received header into ReceivedParts, ReceivedDomainParts, a DatePart,
and CommentParts.
- SubjectConsumerService
- Extends AbstractGenericConsumerService to use a MimeTokenPartFactory, and
to preserve all whitespace and escape sequences as-is (unlike other headers
subject headers don't have escape chars such as '\\' for a backslash).
- ParameterNameValueConsumerService
- Parses an individual part of a parameter header.
- ParameterValueConsumerService
- Starts processing tokens after a '=' character is found, indicating the
'value' portion of a name/value pair in a parameter header.
- QuotedStringMimeLiteralPartConsumerService
- Allows for mime-encoded parts inside a quoted part.
- QuotedStringMimeLiteralPartTokenSplitPatternTrait
- Provides a getTokenSplitPattern for consumers that could have quoted parts
that are mime-header-encoded.