You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2003/07/18 22:53:50 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/environment Request.java
stephan 2003/07/18 13:53:50
Modified: src/java/org/apache/cocoon/environment Request.java
Log:
Changing order of methods.
Revision Changes Path
1.4 +41 -40 cocoon-2.1/src/java/org/apache/cocoon/environment/Request.java
Index: Request.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/Request.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Request.java 6 Jul 2003 20:37:48 -0000 1.3
+++ Request.java 18 Jul 2003 20:53:50 -0000 1.4
@@ -115,6 +115,46 @@
/**
*
+ * Stores an attribute in this request.
+ * Attributes are reset between requests.
+ *
+ * <p>Attribute names should follow the same conventions as
+ * package names. Names beginning with <code>java.*</code>,
+ * <code>javax.*</code>, and <code>com.sun.*</code>, are
+ * reserved for use by Sun Microsystems.
+ *
+ *
+ * @param name a <code>String</code> specifying
+ * the name of the attribute
+ *
+ * @param o the <code>Object</code> to be stored
+ *
+ */
+
+ void setAttribute(String name, Object o);
+
+ /**
+ *
+ * Removes an attribute from this request. This method is not
+ * generally needed as attributes only persist as long as the request
+ * is being handled.
+ *
+ * <p>Attribute names should follow the same conventions as
+ * package names. Names beginning with <code>java.*</code>,
+ * <code>javax.*</code>, and <code>com.sun.*</code>, are
+ * reserved for use by Sun Microsystems.
+ *
+ *
+ * @param name a <code>String</code> specifying
+ * the name of the attribute to remove
+ *
+ */
+
+ void removeAttribute(String name);
+
+
+ /**
+ *
* Returns the name of the authentication scheme used to protect
* the servlet, for example, "BASIC" or "SSL," or null if the servlet was
* not protected
@@ -296,45 +336,6 @@
*/
String getRemoteHost();
-
- /**
- *
- * Stores an attribute in this request.
- * Attributes are reset between requests.
- *
- * <p>Attribute names should follow the same conventions as
- * package names. Names beginning with <code>java.*</code>,
- * <code>javax.*</code>, and <code>com.sun.*</code>, are
- * reserved for use by Sun Microsystems.
- *
- *
- * @param name a <code>String</code> specifying
- * the name of the attribute
- *
- * @param o the <code>Object</code> to be stored
- *
- */
-
- void setAttribute(String name, Object o);
-
- /**
- *
- * Removes an attribute from this request. This method is not
- * generally needed as attributes only persist as long as the request
- * is being handled.
- *
- * <p>Attribute names should follow the same conventions as
- * package names. Names beginning with <code>java.*</code>,
- * <code>javax.*</code>, and <code>com.sun.*</code>, are
- * reserved for use by Sun Microsystems.
- *
- *
- * @param name a <code>String</code> specifying
- * the name of the attribute to remove
- *
- */
-
- void removeAttribute(String name);
/**
*