Repository: nifi
Updated Branches:
  refs/heads/master 4e5026358 -> a0224f1b4


NIFI-1431: Added documentation about how ETag and LastModified dates are used 
by the Processor

Signed-off-by: Matt Gilman <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/a0224f1b
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/a0224f1b
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/a0224f1b

Branch: refs/heads/master
Commit: a0224f1b4c3a8ee737f91d70b5d8b2cb9a1a1f1c
Parents: 4e50263
Author: Mark Payne <[email protected]>
Authored: Thu Jan 28 15:24:55 2016 -0500
Committer: Matt Gilman <[email protected]>
Committed: Thu Jan 28 16:02:05 2016 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/nifi/processors/standard/GetHTTP.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/a0224f1b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java
 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java
index 5eab704..079f256 100644
--- 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java
+++ 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java
@@ -99,7 +99,9 @@ import org.apache.nifi.util.StopWatch;
 
 @Tags({"get", "fetch", "poll", "http", "https", "ingest", "source", "input"})
 @InputRequirement(Requirement.INPUT_FORBIDDEN)
-@CapabilityDescription("Fetches a file via HTTP")
+@CapabilityDescription("Fetches data from an HTTP or HTTPS URL and writes the 
data to the content of a FlowFile. Once the content has been fetched, the ETag 
and Last Modified "
+    + "dates are remembered (if the web server supports these concepts). This 
allows the Processor to fetch new data only if the remote data has changed. 
That is, once the "
+    + "content has been fetched from the given URL, it will not be fetched 
again until the content on the remote server changes.")
 @WritesAttributes({
     @WritesAttribute(attribute = "filename", description = "The filename is 
set to the name of the file on the remote server"),
     @WritesAttribute(attribute = "mime.type", description = "The MIME Type of 
the FlowFile, as reported by the HTTP Content-Type header")

Reply via email to