You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/02/02 13:56:21 UTC
cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/http Request.java
dion 02/02/02 04:56:21
Modified: latka/src/java/org/apache/commons/latka/http Request.java
Log:
Removed unneeded imports, fixed javadoc and formatting
Revision Changes Path
1.11 +4 -9 jakarta-commons/latka/src/java/org/apache/commons/latka/http/Request.java
Index: Request.java
===================================================================
RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/Request.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Request.java 18 Jan 2002 20:22:44 -0000 1.10
+++ Request.java 2 Feb 2002 12:56:21 -0000 1.11
@@ -61,16 +61,13 @@
import java.net.URL;
import java.io.IOException;
-import java.util.Map;
-
-import org.apache.commons.httpclient.HttpMethod;
-
/**
* A Latka Request represents a request from an HTTP server.
*
* @author <a href="mailto:dsale@us.britannica.com">Doug Sale</a>
* @author <a href="mailto:mdelagra@us.britannica.com">Morgan Delagrange</a>
+ * @author dIon Gillard
*/
public interface Request {
@@ -86,8 +83,7 @@
*
* @return a Response object represnting the HTTP response to the request
*
- * @throws java.io.IOException
- * if the remote server could not be reached
+ * @throws IOException if the remote server could not be reached
*/
public Response execute() throws IOException;
@@ -113,7 +109,7 @@
* Associate a parameter with this request.
*
* @param name the name of the parameter
- * @param name the value of the parameter
+ * @param value the value of the parameter
*
*/
public void addParameter(String name, String value);
@@ -183,8 +179,7 @@
* Sets the basic authentication credentials for this request,
* if any.
*
- * @param userName user name
- * @param password user's password
+ * @param credentials user's identification
*/
public void setCredentials(Credentials credentials);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>