[ 
https://issues.apache.org/jira/browse/HTTPCORE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roland Weber resolved HTTPCORE-122.
-----------------------------------

    Resolution: Fixed

Hi Oleg,

I've moved the creation of the tokens to an extra method that can be overridden 
easily. JavaDocs explain the GC problem.
The trimming feature of CAB doesn't come into play with the parsing algorithm 
I've chosen, since that searches explicitly for token start and end rather than 
splitting at separators and trimming.
I've made a minor modification to trigger different exception messages if there 
is an invalid character after a token, or if there are two tokens without the 
required separator.

cheers,
  Roland


> new interface TokenIterator
> ---------------------------
>
>                 Key: HTTPCORE-122
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-122
>             Project: HttpComponents Core
>          Issue Type: Sub-task
>          Components: HttpCore
>    Affects Versions: 4.0-alpha5
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-beta1
>
>         Attachments: 2k7-11-30-token-iter.txt
>
>
> As discussed for HTTPCORE-112, a new interface and implementation for 
> iterating over String tokens in a header value would be useful.
> The implementation can be based on the HeaderIterator introduced with 
> HTTPCORE-120.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to