You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2003/03/22 16:22:00 UTC

cvs commit: jakarta-servletapi-5/jsr154/src/share/javax/servlet/http HttpServletRequest.java HttpSession.java

jfarcand    2003/03/22 07:22:00

  Modified:    jsr154/src/share/javax/servlet ServletRequest.java
                        ServletRequestWrapper.java ServletResponse.java
                        ServletResponseWrapper.java
               jsr154/src/share/javax/servlet/http HttpServletRequest.java
                        HttpSession.java
  Log:
  Servlet API documentation change.
  
  Submitted by; Yutaka Yoshida
  
  Revision  Changes    Path
  1.4       +8 -0      jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequest.java
  
  Index: ServletRequest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServletRequest.java	5 Mar 2003 19:42:48 -0000	1.3
  +++ ServletRequest.java	22 Mar 2003 15:21:59 -0000	1.4
  @@ -592,6 +592,8 @@
       /**
        * Returns the Internet Protocol (IP) source port of the client
        * or last proxy that sent the request.
  +     *
  +     * @since 2.4
        */    
       public int getRemotePort();
   
  @@ -602,6 +604,8 @@
        *
        * @return	a <code>String</code> containing the host
        *		name of the IP on which the request was received.
  +     *
  +     * @since 2.4
        */
       public String getLocalName();
   
  @@ -612,6 +616,8 @@
        * @return	a <code>String</code> containing the
        *		IP address on which the request was received. 
        *
  +     * @since 2.4
  +     *
        */       
       public String getLocalAddr();
   
  @@ -621,6 +627,8 @@
        * on which the request was received.
        *
        * @return an integer specifying the port number
  +     *
  +     * @since 2.4
        */
       public int getLocalPort();
   
  
  
  
  1.4       +8 -0      jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequestWrapper.java
  
  Index: ServletRequestWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequestWrapper.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServletRequestWrapper.java	5 Mar 2003 19:42:48 -0000	1.3
  +++ ServletRequestWrapper.java	22 Mar 2003 15:22:00 -0000	1.4
  @@ -403,6 +403,8 @@
       /**
        * The default behavior of this method is to return
        * getRemotePort() on the wrapped request object.
  +     *
  +     * @since 2.4
        */    
       public int getRemotePort(){
           return this.request.getRemotePort();
  @@ -412,6 +414,8 @@
       /**
        * The default behavior of this method is to return
        * getLocalName() on the wrapped request object.
  +     *
  +     * @since 2.4
        */
       public String getLocalName(){
           return this.request.getLocalName();
  @@ -420,6 +424,8 @@
       /**
        * The default behavior of this method is to return
        * getLocalAddr() on the wrapped request object.
  +     *
  +     * @since 2.4
        */       
       public String getLocalAddr(){
           return this.request.getLocalAddr();
  @@ -429,6 +435,8 @@
       /**
        * The default behavior of this method is to return
        * getLocalPort() on the wrapped request object.
  +     *
  +     * @since 2.4
        */
       public int getLocalPort(){
           return this.request.getLocalPort();
  
  
  
  1.3       +4 -0      jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponse.java
  
  Index: ServletResponse.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponse.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletResponse.java	5 Mar 2003 19:42:48 -0000	1.2
  +++ ServletResponse.java	22 Mar 2003 15:22:00 -0000	1.3
  @@ -149,6 +149,8 @@
        *			content type, for example,
        *			<code>text/html; charset=UTF-8</code>,
        *			or null
  +     *
  +     * @since 2.4
        */
     
       public String getContentType();
  @@ -243,6 +245,8 @@
        *
        * @see		#setContentType
        * 			#setLocale
  +     *
  +     * @since 2.4
        *
        */
   
  
  
  
  1.2       +4 -0      jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponseWrapper.java
  
  Index: ServletResponseWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponseWrapper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServletResponseWrapper.java	13 Aug 2002 16:21:43 -0000	1.1
  +++ ServletResponseWrapper.java	22 Mar 2003 15:22:00 -0000	1.2
  @@ -120,6 +120,8 @@
       /**
        * The default behavior of this method is to call setCharacterEncoding(String charset)
        * on the wrapped response object.
  +     *
  +     * @since 2.4
        */
   
       public void setCharacterEncoding(String charset) {
  @@ -176,6 +178,8 @@
       /**
        * The default behavior of this method is to return getContentType()
        * on the wrapped response object.
  +     *
  +     * @since 2.4
        */
   
       public String getContentType() {
  
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletRequest.java
  
  Index: HttpServletRequest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletRequest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HttpServletRequest.java	5 Mar 2003 19:42:48 -0000	1.2
  +++ HttpServletRequest.java	22 Mar 2003 15:22:00 -0000	1.3
  @@ -501,7 +501,7 @@
        *
        * 
   
  -     * <table>
  +     * <table summary="Examples of Returned Values">
        * <tr align=left><th>First line of HTTP request      </th>
        * <th>     Returned Value</th>
        * <tr><td>POST /some/path.html HTTP/1.1<td><td>/some/path.html
  
  
  
  1.2       +2 -0      jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpSession.java
  
  Index: HttpSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpSession.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HttpSession.java	13 Aug 2002 16:21:46 -0000	1.1
  +++ HttpSession.java	22 Mar 2003 15:22:00 -0000	1.2
  @@ -474,6 +474,8 @@
        *
        * @exception IllegalStateException if this method is called on an
        *                                  already invalidated session
  +     *
  +     * @since 2.4
        */
       public void logout();
   
  
  
  

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