aboutsummaryrefslogtreecommitdiff
path: root/java/CurlWrite.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/CurlWrite.java')
-rw-r--r--java/CurlWrite.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/CurlWrite.java b/java/CurlWrite.java
new file mode 100644
index 000000000..37c8484c0
--- /dev/null
+++ b/java/CurlWrite.java
@@ -0,0 +1,9 @@
+public interface CurlWrite
+{
+ /**
+ * handleString gets called by libcurl on each chunk of data
+ * we receive from the remote server
+ */
+ public int handleString(byte s[]);
+}
+