Benoit Tellier created MIME4J-292:
-------------------------------------
Summary: ContentTypeField strong typing
Key: MIME4J-292
URL: https://issues.apache.org/jira/browse/MIME4J-292
Project: James Mime4j
Issue Type: Improvement
Components: dom
Affects Versions: 0.8.4
Reporter: Benoit Tellier
Fix For: 0.8.4
Currently, ContentTypeField::getMimeType getMediaType, getSubtype getCharset
returns raw strings.
As such we did not rely on Mime4J POJOs as part of the mailbox-api strong
typing effort (see
https://github.com/linagora/james-project/pull/3335#discussion_r415936255)
We should strong type those field in mime4j, which would be a breaking change
from a library user point of view, though upgrade should still remain easy.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)