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

Julien Vermillard updated DEFT-178:
-----------------------------------

    Attachment: HttpResponseImpl.java

> 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