geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r675562 - in /geronimo/specs/trunk/geronimo-servlet_3.0_spec: pom.xml src/main/java/javax/servlet/http/Cookie.java
Date Thu, 10 Jul 2008 13:05:56 GMT
Author: djencks
Date: Thu Jul 10 06:05:56 2008
New Revision: 675562

URL: http://svn.apache.org/viewvc?rev=675562&view=rev
Log:
rename module, implement cookie changes

Modified:
    geronimo/specs/trunk/geronimo-servlet_3.0_spec/pom.xml
    geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/http/Cookie.java

Modified: geronimo/specs/trunk/geronimo-servlet_3.0_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_3.0_spec/pom.xml?rev=675562&r1=675561&r2=675562&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-servlet_3.0_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-servlet_3.0_spec/pom.xml Thu Jul 10 06:05:56 2008
@@ -30,12 +30,12 @@
         <version>1.5</version>
     </parent>
 
-    <artifactId>geronimo-servlet_2.5_spec</artifactId>
+    <artifactId>geronimo-servlet_3.0_spec</artifactId>
     <packaging>jar</packaging>
-    <name>Servlet 2.5</name>
-    <version>1.3-SNAPSHOT</version>
+    <name>Servlet 3.0 Early Access</name>
+    <version>1.0-EA-SNAPSHOT</version>
 
-    <description>Servlet 2.5 Specification</description>
+    <description>Servlet 3.0 (early access) Specification</description>
 
     <url>http://geronimo.apache.org/maven/${siteId}/${version}</url>
     <distributionManagement>
@@ -49,13 +49,13 @@
         <siteId>specs/${artifactId}</siteId>
 
         <geronimo.osgi.export.pkg>javax.servlet*</geronimo.osgi.export.pkg>
-        <geronimo.osgi.export.version>2.5</geronimo.osgi.export.version>
+        <geronimo.osgi.export.version>3.0</geronimo.osgi.export.version>
     </properties>
 
     <scm>
-        <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_2.5_spec/</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_2.5_spec/</developerConnection>
-        <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-servlet_2.5_spec/</url>
+        <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_3.0_spec/</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_3.0_spec/</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-servlet_3.0_spec/</url>
     </scm>
 
 </project>

Modified: geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/http/Cookie.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/http/Cookie.java?rev=675562&r1=675561&r2=675562&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/http/Cookie.java
(original)
+++ geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/http/Cookie.java
Thu Jul 10 06:05:56 2008
@@ -91,8 +91,8 @@
     private String path;	// ;Path=VALUE ... URLs that see the cookie
     private boolean secure;	// ;Secure ... e.g. use SSL
     private int version = 0;	// ;Version=1 ... means RFC 2109++ style
-    
-    
+    private boolean httpOnly;
+
 
     /**
      * Constructs a cookie with a specified name and value.
@@ -536,5 +536,23 @@
 	    throw new RuntimeException(e.getMessage());
 	}
     }
+
+    /**
+     *
+     * @return whether cookie is http only
+     * @since servlet 3.0
+     */
+    public boolean isHttpOnly() {
+        return httpOnly;
+    }
+
+    /**
+     *
+     * @param httpOnly httpOnly setting
+     * @since servlet 3.0
+     */
+    public void setHttpOnly(boolean httpOnly) {
+        this.httpOnly = httpOnly;
+    }
 }
 



Mime
View raw message