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

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

Hi, Julien!
The formatting differences make it a little confusing, but from a quick glance 
this is a straight Extract Interface refactoring with references to the new 
implementation added as needed right? Sounds like a good idea.
If nobody else gets to it first, I will take a proper look at this for you 
tomorrow. In the meantime could you please upload "HttpRequestImpl.java" again, 
and check the "Grant Rights" box? 

> 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
>         Attachments: 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