diff options
author | Greg Wilkins | 2014-08-20 23:43:35 +0000 |
---|---|---|
committer | Greg Wilkins | 2014-08-20 23:43:35 +0000 |
commit | 7584488702d156f6d049dbe8e74ecc30ee300e2f (patch) | |
tree | ca181d84e89d96d1cb7ec19859ae7f9288989ed2 | |
parent | 06cee4b08d5161c0f4406c3b5641773d28ac2559 (diff) | |
download | org.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.java | 7 |
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); } |