dion 02/04/10 15:36:12
Modified: latka/src/java/org/apache/commons/latka/http
CredentialsImpl.java ParametersImpl.java
Credentials.java Parameters.java
latka/src/java/org/apache/commons/latka
AbstractReporter.java HtmlPrettyPrintWriter.java
Log:
Fixed javadocs
Revision Changes Path
1.4 +15 -7
jakarta-commons/latka/src/java/org/apache/commons/latka/http/CredentialsImpl.java
Index: CredentialsImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/CredentialsImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- CredentialsImpl.java 22 Jan 2002 07:48:36 -0000 1.3
+++ CredentialsImpl.java 10 Apr 2002 22:36:12 -0000 1.4
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,11 +59,15 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.http;
/** Concrete Implementation of
* {@link org.apache.commons.latka.http.Credentials Credentials}
+ *
+ * @author Morgan Delagrange
+ * @author <a href="mailto:[EMAIL PROTECTED]">dIon Gillard</a>
+ * @version $Id: CredentialsImpl.java,v 1.4 2002/04/10 22:36:12 dion Exp $
* @see org.apache.commons.latka.http.Credentials
*/
public class CredentialsImpl implements Credentials {
1.3 +49 -26
jakarta-commons/latka/src/java/org/apache/commons/latka/http/ParametersImpl.java
Index: ParametersImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/ParametersImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ParametersImpl.java 20 Jan 2002 00:03:41 -0000 1.2
+++ ParametersImpl.java 10 Apr 2002 22:36:12 -0000 1.3
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,31 +59,50 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.http;
import java.util.LinkedList;
import java.util.List;
+/**
+ * An implementation of the {@link Parameters} interface that stores the
+ * name value pairs as a list of two element string arrays
+ *
+ * @see Parameters
+ * @author Morgan Delagrange
+ * @author <a href="mailto:[EMAIL PROTECTED]">dIon Gillard</a>
+ * @version $Id: ParametersImpl.java,v 1.3 2002/04/10 22:36:12 dion Exp $
+ */
public class ParametersImpl implements Parameters {
- protected List _list = new LinkedList();
-
- /**
- * Protected access, parameters can only be copied from
- * request to request.
- */
- protected ParametersImpl() {
- }
-
- // defined in the interface
- public void addParameter(String paramName, String paramValue) {
- _list.add(new String[] { paramName, paramValue });
- }
-
- // defined in the interface
- public List getParameters() {
- return _list;
- }
-
+ /**
+ * List of parameters. Each element of the list is a String[] with first
+ * element parameter name, second element parameter value
+ */
+ protected List _list = new LinkedList();
+
+ /**
+ * Protected access, parameters can only be copied from
+ * request to request.
+ */
+ protected ParametersImpl() {
+ }
+
+ /**
+ * Defined in interface
+ * @see Parameters#addParameter(String,String)
+ */
+ public void addParameter(String paramName, String paramValue) {
+ _list.add(new String[] { paramName, paramValue });
+ }
+
+ /**
+ * Defined in interface
+ * @see Parameters#getParameters()
+ * @return list of parameters
+ */
+ public List getParameters() {
+ return _list;
+ }
}
1.4 +12 -8
jakarta-commons/latka/src/java/org/apache/commons/latka/http/Credentials.java
Index: Credentials.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/Credentials.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Credentials.java 22 Jan 2002 07:42:19 -0000 1.3
+++ Credentials.java 10 Apr 2002 22:36:12 -0000 1.4
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,13 +59,13 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.http;
/**
* Used for authentication
* @author Morgan Delagrange
- * @version $Id: Credentials.java,v 1.3 2002/01/22 07:42:19 dion Exp $
+ * @version $Id: Credentials.java,v 1.4 2002/04/10 22:36:12 dion Exp $
*/
public interface Credentials {
1.3 +19 -9
jakarta-commons/latka/src/java/org/apache/commons/latka/http/Parameters.java
Index: Parameters.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/Parameters.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Parameters.java 20 Jan 2002 00:03:41 -0000 1.2
+++ Parameters.java 10 Apr 2002 22:36:12 -0000 1.3
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,19 +59,25 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka.http;
import java.util.List;
+/**
+ * Create a new set of parameters
+ *
+ * @author Morgan Delagrange
+ * @author <a href=mailto:[EMAIL PROTECTED]">dIon Gillard</a>
+ * @version $Id: Parameters.java,v 1.3 2002/04/10 22:36:12 dion Exp $
+ */
public interface Parameters {
/**
* Add a parameter to the request
*
* @param paramName parameter name
- * @param paramValue
- * parameter value, or null for an empty value
+ * @param paramValue parameter value, or null for an empty value
*/
public void addParameter(String paramName, String paramValue);
1.16 +2 -1
jakarta-commons/latka/src/java/org/apache/commons/latka/AbstractReporter.java
Index: AbstractReporter.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/AbstractReporter.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- AbstractReporter.java 10 Apr 2002 03:54:38 -0000 1.15
+++ AbstractReporter.java 10 Apr 2002 22:36:12 -0000 1.16
@@ -83,7 +83,7 @@
*
* @author Rodney Waldhoff
* @author Morgan Delagrange
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
*/
public abstract class AbstractReporter implements LatkaEventInfo {
@@ -222,6 +222,7 @@
}
/**
+ * List failed responses
* @return a list of all responses of failed requests
*/
public List getFailedResponses() {
1.3 +12 -8
jakarta-commons/latka/src/java/org/apache/commons/latka/HtmlPrettyPrintWriter.java
Index: HtmlPrettyPrintWriter.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/HtmlPrettyPrintWriter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HtmlPrettyPrintWriter.java 29 Jan 2002 16:48:16 -0000 1.2
+++ HtmlPrettyPrintWriter.java 10 Apr 2002 22:36:12 -0000 1.3
@@ -1,9 +1,13 @@
/*
+ *
+ *
+ *
+ *
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -11,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -19,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
- * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache"
@@ -55,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.commons.latka;
@@ -74,7 +78,7 @@
* @author Morgan Delagrange
* @author dIon Gillard (javadocs)
* @see XMLReporter#setPrintWriter(PrintWriter)
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class HtmlPrettyPrintWriter extends PrintWriter {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>