geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r805625 - /geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletContext.java
Date Tue, 18 Aug 2009 23:10:00 GMT
Author: djencks
Date: Tue Aug 18 23:10:00 2009
New Revision: 805625

URL: http://svn.apache.org/viewvc?rev=805625&view=rev
Log:
More missing methods found by Maxim Moldenhauer, thanks

Modified:
    geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletContext.java

Modified: geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletContext.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletContext.java?rev=805625&r1=805624&r2=805625&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletContext.java
(original)
+++ geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/ServletContext.java
Tue Aug 18 23:10:00 2009
@@ -696,6 +696,22 @@
     Set<SessionTrackingMode> getDefaultSessionTrackingModes();
 
     /**
+     *
+     * @return the major version of the servlet spec the web app thinks it is using.
+     * @throws UnsupportedOperationException if this ServletContext was constructed in a
way where the spec version cannot be determined.
+     * @since 3.0
+     */
+    int getEffectiveMajorVersion() throws UnsupportedOperationException;
+
+    /**
+     *
+     * @return the minor version of the servlet spec the web app thinks it is using.
+     * @throws UnsupportedOperationException if this ServletContext was constructed in a
way where the spec version cannot be determined.
+     * @since 3.0
+     */
+    int getEffectiveMinorersion() throws UnsupportedOperationException;
+
+    /**
      * @return the actual session tracking modes.  These will be the default ones unless
they've been explicitly set.
      * @since 3.0
      */



Mime
View raw message