issues@javamail.java.net

[Bug 5686] New: ParameterList needs to support use by IMAP

From: <bugzilla-daemon_at_kenai.com>
Date: Fri, 09 Nov 2012 00:07:02 +0000

http://kenai.com/bugzilla/show_bug.cgi?id=5686

             Bug #: 5686
           Summary: ParameterList needs to support use by IMAP
    Classification: Unclassified
           Product: javamail
           Version: 1.4.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: internet
        AssignedTo: shannon_at_kenai.com
        ReportedBy: shannon_at_kenai.com
                CC: issues_at_javamail.kenai.com


Normally the ParameterList class parses an entire string and separates
it into parameters, combining multi-segment parameters as defined by
RFC 2231. The segments can't be combined until they're all parsed.
When parsing a string, the combining step is done at the end.

The IMAP protocol presents each of the parameters as a separate name/value
pair. The IMAP provider would like to set each of these in a ParameterList,
and then tell the ParameterList to combine the segments when all values
have been set. The current code uses a kludge to do this. There should
be a way for the IMAP provider to subclass ParameterList for this use case,
e.g., by adding a protected method indicating that all values have been set.

-- 
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.