[
https://issues.apache.org/jira/browse/DEFT-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078875#comment-13078875
]
Johnathan Meehan commented on DEFT-178:
---------------------------------------
+1 for the extraction (the package is starting to look a little random now to
me; might get to that).
> 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