jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@locus.apache.org
Subject cvs commit: jakarta-taglibs/request/src/org/apache/taglibs/request IsSecureTag.java
Date Fri, 03 Nov 2000 12:50:35 GMT
glenn       00/11/03 04:50:34

  Modified:    request/src/org/apache/taglibs/request IsSecureTag.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.2       +13 -8     jakarta-taglibs/request/src/org/apache/taglibs/request/IsSecureTag.java
  
  Index: IsSecureTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/IsSecureTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IsSecureTag.java	2000/09/21 14:14:36	1.1
  +++ IsSecureTag.java	2000/11/03 12:50:34	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/IsSecureTag.java,v
1.1 2000/09/21 14:14:36 glenn Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/09/21 14:14:36 $
  + * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/IsSecureTag.java,v
1.2 2000/11/03 12:50:34 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/03 12:50:34 $
    *
    * ====================================================================
    *
  @@ -68,8 +68,8 @@
   import javax.servlet.jsp.tagext.*;
   
   /**
  - * JSP Tag <b>issecure</b>, used to determine if HttpServletRequest secure
  - * (using HTTPS).
  + * JSP Tag <b>issecure</b>, used to determine if HttpServletRequest
  + * is secure (using HTTPS).
    * <p>
    * Includes the body of the tag if the connection is secure.
    * <p>
  @@ -82,7 +82,7 @@
    * &lt;name&gt;issecure&lt;/name&gt;
    * &lt;tagclass&gt;org.apache.taglibs.request.IsSecureTag&lt;/tagclass&gt;
    * &lt;bodycontent&gt;JSP&lt;/bodycontent&gt;
  - * &lt;info&gt;Used to test whether the HTTP connection is secure (using HTTPS).&lt;/info&gt;
  + * &lt;info&gt;Test whether the HTTP connection is secure (using HTTPS).&lt;/info&gt;
    *   &lt;attribute&gt;
    *     &lt;name&gt;value&lt;/name&gt;
    *     &lt;required&gt;false&lt;/required&gt;
  @@ -102,7 +102,7 @@
        *
        * @return SKIP_BODY if issecure doesn't match value, EVAL_BODY_include if issecure
matches value
        */
  -    public int doStartTag() throws JspException
  +    public final int doStartTag() throws JspException
       {
   	boolean result = ((HttpServletRequest)pageContext.getRequest()).isSecure();
   	if( value == null ) {
  @@ -115,7 +115,12 @@
   	return SKIP_BODY;
       }
   
  -    public void setValue(String str)
  +    /**
  +     * Set the optional tag attribute <b>value</b> to true or false. 
  +     *
  +     * @param String true or false
  +     */
  +    public final void setValue(String str)
       {
   	value = new Boolean(str);
       }
  
  
  

Mime
View raw message