You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/07/31 10:13:01 UTC

svn commit: r1508763 - /tomcat/tc7.0.x/trunk/java/javax/servlet/http/HttpSession.java

Author: markt
Date: Wed Jul 31 08:13:01 2013
New Revision: 1508763

URL: http://svn.apache.org/r1508763
Log:
Fix javadoc formatting typo

Modified:
    tomcat/tc7.0.x/trunk/java/javax/servlet/http/HttpSession.java

Modified: tomcat/tc7.0.x/trunk/java/javax/servlet/http/HttpSession.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/javax/servlet/http/HttpSession.java?rev=1508763&r1=1508762&r2=1508763&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/javax/servlet/http/HttpSession.java (original)
+++ tomcat/tc7.0.x/trunk/java/javax/servlet/http/HttpSession.java Wed Jul 31 08:13:01 2013
@@ -60,7 +60,7 @@ import javax.servlet.ServletContext;
  * Session information is scoped only to the current web application (
  * <code>ServletContext</code>), so information stored in one context will not
  * be directly visible in another.
- * 
+ *
  * @see HttpSessionBindingListener
  */
 public interface HttpSession {
@@ -68,7 +68,7 @@ public interface HttpSession {
     /**
      * Returns the time when this session was created, measured in milliseconds
      * since midnight January 1, 1970 GMT.
-     * 
+     *
      * @return a <code>long</code> specifying when this session was created,
      *         expressed in milliseconds since 1/1/1970 GMT
      * @exception IllegalStateException
@@ -80,7 +80,7 @@ public interface HttpSession {
      * Returns a string containing the unique identifier assigned to this
      * session. The identifier is assigned by the servlet container and is
      * implementation dependent.
-     * 
+     *
      * @return a string specifying the identifier assigned to this session
      * @exception IllegalStateException
      *                if this method is called on an invalidated session
@@ -94,7 +94,7 @@ public interface HttpSession {
      * <p>
      * Actions that your application takes, such as getting or setting a value
      * associated with the session, do not affect the access time.
-     * 
+     *
      * @return a <code>long</code> representing the last time the client sent a
      *         request associated with this session, expressed in milliseconds
      *         since 1/1/1970 GMT
@@ -105,7 +105,7 @@ public interface HttpSession {
 
     /**
      * Returns the ServletContext to which this session belongs.
-     * 
+     *
      * @return The ServletContext object for the web application
      * @since 2.3
      */
@@ -115,7 +115,7 @@ public interface HttpSession {
      * Specifies the time, in seconds, between client requests before the
      * servlet container will invalidate this session. A zero or negative time
      * indicates that the session should never timeout.
-     * 
+     *
      * @param interval
      *            An integer specifying the number of seconds
      */
@@ -127,7 +127,7 @@ public interface HttpSession {
      * the servlet container will invalidate the session. The maximum time
      * interval can be set with the <code>setMaxInactiveInterval</code> method.
      * A zero or negative time indicates that the session should never timeout.
-     * 
+     *
      * @return an integer specifying the number of seconds this session remains
      *         open between client requests
      * @see #setMaxInactiveInterval
@@ -146,7 +146,7 @@ public interface HttpSession {
     /**
      * Returns the object bound with the specified name in this session, or
      * <code>null</code> if no object is bound under the name.
-     * 
+     *
      * @param name
      *            a string specifying the name of the object
      * @return the object with the specified name
@@ -171,7 +171,7 @@ public interface HttpSession {
     /**
      * Returns an <code>Enumeration</code> of <code>String</code> objects
      * containing the names of all the objects bound to this session.
-     * 
+     *
      * @return an <code>Enumeration</code> of <code>String</code> objects
      *         specifying the names of all the objects bound to this session
      * @exception IllegalStateException
@@ -206,8 +206,8 @@ public interface HttpSession {
      * <code>HttpSessionBindingListener.valueUnbound</code> method is called.
      * <p>
      * If the value passed in is null, this has the same effect as calling
-     * <code>removeAttribute()<code>.
-     * 
+     * <code>removeAttribute()</code>.
+     *
      * @param name
      *            the name to which the object is bound; cannot be null
      * @param value
@@ -241,7 +241,7 @@ public interface HttpSession {
      * <code>HttpSessionBindingListener.valueUnbound</code>. The container then
      * notifies any <code>HttpSessionAttributeListener</code>s in the web
      * application.
-     * 
+     *
      * @param name
      *            the name of the object to remove from this session
      * @exception IllegalStateException
@@ -263,7 +263,7 @@ public interface HttpSession {
 
     /**
      * Invalidates this session then unbinds any objects bound to it.
-     * 
+     *
      * @exception IllegalStateException
      *                if this method is called on an already invalidated session
      */
@@ -274,7 +274,7 @@ public interface HttpSession {
      * session or if the client chooses not to join the session. For example, if
      * the server used only cookie-based sessions, and the client had disabled
      * the use of cookies, then a session would be new on each request.
-     * 
+     *
      * @return <code>true</code> if the server has created a session, but the
      *         client has not yet joined
      * @exception IllegalStateException



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org