You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mo...@apache.org on 2017/02/03 22:54:10 UTC
nifi git commit: Updated documentation of ListenHTTP
Repository: nifi
Updated Branches:
refs/heads/master 376af83a3 -> adfaffc77
Updated documentation of ListenHTTP
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/adfaffc7
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/adfaffc7
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/adfaffc7
Branch: refs/heads/master
Commit: adfaffc7736a6b85fe8c65d138043d717ccc7198
Parents: 376af83
Author: Pierre Villard <pi...@gmail.com>
Authored: Thu Dec 29 15:46:18 2016 +0100
Committer: Mike Moser <mo...@apache.org>
Committed: Fri Feb 3 22:53:29 2017 +0000
----------------------------------------------------------------------
.../java/org/apache/nifi/processors/standard/ListenHTTP.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/adfaffc7/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java
index 82eee92..0c38331 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java
@@ -65,7 +65,9 @@ import java.util.regex.Pattern;
@InputRequirement(Requirement.INPUT_FORBIDDEN)
@Tags({"ingest", "http", "https", "rest", "listen"})
-@CapabilityDescription("Starts an HTTP Server that is used to receive FlowFiles from remote sources. The default URI of the Service will be http://{hostname}:{port}/contentListener")
+@CapabilityDescription("Starts an HTTP Server and listens on a given base path to transform incoming requests into FlowFiles. "
+ + "The default URI of the Service will be http://{hostname}:{port}/contentListener. Only HEAD and POST requests are "
+ + "supported. GET, PUT, and DELETE will result in an error and the HTTP response status code 405.")
public class ListenHTTP extends AbstractSessionFactoryProcessor {
private Set<Relationship> relationships;