hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1076) [GSoC 2011] Fluent API to HttpClient
Date Sat, 13 Aug 2011 09:54:27 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084578#comment-13084578

Oleg Kalnichevski commented on HTTPCLIENT-1076:


I put UriBuilder to the HttpClient module [1] and the rest to the new fluent-hc module [2]
Please get the latest snapshot of HttpClient from SVN and try to build it from source 

There is also a number of things that need fixing

(1) Please _never_ use Throwable#printStackTrace() inside a library! Either rethrow exceptions
with a different type (rethrow checked exception as an unchecked one, if appropriate), handle
it if it can be handled internally by the class or in extreme cases log it through commons-logging.

(2) FluentResponse currently depends on JUnit code, which is not okay in my opinion. Since
there was no response from the Stanbol folks I we do not really know how important it is for
them. I suggest we either remote the JUnit specific code or at least move it to the test folder
for the time being. 

(3) Some test coverage would be quite useful



[1] http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/UriBuilder.java
[2] http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/fluent-hc/

> [GSoC 2011] Fluent API to HttpClient
> ------------------------------------
>                 Key: HTTPCLIENT-1076
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1076
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>            Reporter: Oleg Kalnichevski
>            Assignee: Oleg Kalnichevski
>              Labels: gsoc2011, mentor
>             Fix For: Future
>         Attachments: fluenthc.jar
> Develop fluent API / facade to HttpClient based on code currently maintained by Apache
Stanbol and Apache Sling projects. 
> For details see 
> http://markmail.org/message/mmyljtgjp3za6kyz
> or contact Apache HttpComponents committers at dev@hc.apache.org

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


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message