You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2007/08/26 19:13:31 UTC

[jira] Issue Comment Edited: (HTTPCORE-110) refactor message parsing and formatting, step 2

    [ https://issues.apache.org/jira/browse/HTTPCORE-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522741 ] 

rolandw edited comment on HTTPCORE-110 at 8/26/07 10:11 AM:
-----------------------------------------------------------------

Actually, I am trying to define a complete interface for the parsing code that I set out to refactor. Right now, part of the parsing still needs to be done outside of the new interfaces. But that is not essential to HTTPCORE-107, so we can drop the last step.

I'll work on the formatting code. We'll have to see whether I can finish until you're back.

cheers,
  Roland


      was (Author: rolandw):
    Actually, I am trying to define a complete interface for the parsing code that I set out to refactor. Right now, part of the parsing still needs to be done outside of the new interfaces. But that is not essential to HTTPCORE-110, so we can drop the last step.

I'll work on the formatting code. We'll have to see whether I can finish until you're back.

cheers,
  Roland

  
> refactor message parsing and formatting, step 2
> -----------------------------------------------
>
>                 Key: HTTPCORE-110
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-110
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.0-alpha5
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>             Fix For: 4.0-alpha6
>
>         Attachments: 2k7-08-20-parser-1.txt, 2k7-08-23-parser-2.txt
>
>
> The line-level parsing and formatting for HTTP messages is spread across static helper methods in o.a.h.message. Refactor the code to allow for easy replacement of these parser and formatter elements, which are used by both core and NIO.
> Ideally, handling of header continuation lines, which is currently still implemented in specific parsers for blocking and NIO, could be factored out too. That would require a stateful parser.

-- 
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org