You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2015/11/02 21:48:28 UTC
[jira] [Updated] (NIFI-1086) Refactor InvokeHttp
[ https://issues.apache.org/jira/browse/NIFI-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Percivall updated NIFI-1086:
-----------------------------------
Attachment: NIFI-1086_refactor_only.patch
Here is an initial commit of the OkHttp refactor. This patch solely refactors InvokeHttp to use OkHttp instead of java's HttpUrlConnection. I'd like someone to take a quick look to make sure I refactored it correctly before adding in the functionality of the incorporating tickets.
> Refactor InvokeHttp
> -------------------
>
> Key: NIFI-1086
> URL: https://issues.apache.org/jira/browse/NIFI-1086
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Joseph Percivall
> Assignee: Joseph Percivall
> Fix For: 0.4.0
>
> Attachments: NIFI-1086_refactor_only.patch
>
>
> InvokeHttp currently uses Java's HttpUrlConnection, which is lacking in it's features and ease-of-use. In order to support all the current InvokeHttp pending tickets it's clear that a new underlying library is needed.
> OkHttp looks to be a promising library that focusing on individual transactions (as opposed to Apache's HttpClient that focuses more on sessions).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)