Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-08-20 23:43:35 +0000
committerGreg Wilkins2014-08-20 23:43:35 +0000
commit7584488702d156f6d049dbe8e74ecc30ee300e2f (patch)
treeca181d84e89d96d1cb7ec19859ae7f9288989ed2
parent06cee4b08d5161c0f4406c3b5641773d28ac2559 (diff)
downloadorg.eclipse.jetty.project-7584488702d156f6d049dbe8e74ecc30ee300e2f.tar.gz
org.eclipse.jetty.project-7584488702d156f6d049dbe8e74ecc30ee300e2f.tar.xz
org.eclipse.jetty.project-7584488702d156f6d049dbe8e74ecc30ee300e2f.zip
javadoc
-rw-r--r--jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java
index 1f92b1eb74..feacacd1eb 100644
--- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java
+++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java
@@ -147,6 +147,13 @@ public interface Response
public interface AsyncContentListener extends ResponseListener
{
+ /**
+ * Callback method invoked asynchronously when the response content has been received.
+ *
+ * @param response the response containing the response line data and the headers
+ * @param content the content bytes received
+ * @param callback the callback to call when the content is consumed.
+ */
public void onContent(Response response, ByteBuffer content, Callback callback);
}

Back to the top