morgand 02/05/03 12:43:58
Modified: latka/src/java/org/apache/commons/latka/http Response.java
Log:
javadoc clarification
Revision Changes Path
1.11 +7 -2
jakarta-commons/latka/src/java/org/apache/commons/latka/http/Response.java
Index: Response.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/Response.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Response.java 3 May 2002 16:04:50 -0000 1.10
+++ Response.java 3 May 2002 19:43:58 -0000 1.11
@@ -78,14 +78,19 @@
public String getStatusText();
/**
- * @return the resource, in string form, provided by the HTTP server.
+ * Returns the resource, in string form,
+ * provided by the HTTP server
+ *
+ * @return the contents of the HTTP response body has a String,
+ * or null if there was no response body
*/
public String getResource();
/**
* Get the actual bytes returned by the web server
*
- * @return InputStream containing the HTTP response
+ * @return InputStream containing the HTTP response, or null
+ * if the response contains no body
*/
public InputStream getStream();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>