[ 
https://issues.apache.org/jira/browse/DEFT-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078872#comment-13078872
 ] 

Johnathan Meehan commented on DEFT-178:
---------------------------------------

I ran through it all and applied the changes with only minor changes. You're 
going to hate me, Julien, but I had to run my own formatter to see what was 
what... we should have a standard formatter available soon (or so I keep 
saying). I'm pretty sure it's all there, though. Let me know if I missed 
something

Committed: http://svn.apache.org/viewvc?rev=1153593&view=rev

Ready for review.

> Create an Interface between the API user and deft internal plumbing system
> --------------------------------------------------------------------------
>
>                 Key: DEFT-178
>                 URL: https://issues.apache.org/jira/browse/DEFT-178
>             Project: Deft
>          Issue Type: Improvement
>          Components: Core, Tests
>            Reporter: Julien Vermillard
>            Assignee: Johnathan Meehan
>             Fix For: 0.4.0
>
>         Attachments: HttpRequestImpl.java, HttpRequestImpl.java, 
> HttpResponseImpl.java, api.patch
>
>
> here a patch for creating two interface : HttpResponse and HttpRequest 
> (implementation are moved to HttpResponseImpl and HttpRequestImpl).
> We expose to the deft user only those interfaces (with the javadoc as API 
> documentation) and hide all the parsing/accumulation process.
> The idea is  :
>  * hide the complexity to the user, provide clear API with it's doc
>  * prevent user to call unwanted methods
>  * being able to change the inner implementatio without affecting user code  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to