commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/jelly SessionTag.java
Date Fri, 12 Jul 2002 04:04:42 GMT
dion        2002/07/11 21:04:42

  Modified:    latka/src/java/org/apache/commons/latka/jelly
                        SessionTag.java
  Log:
  Added user agent and 'strict mode' attributes
  
  Revision  Changes    Path
  1.7       +36 -3     jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/SessionTag.java
  
  Index: SessionTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/SessionTag.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SessionTag.java	8 Jul 2002 01:44:43 -0000	1.6
  +++ SessionTag.java	12 Jul 2002 04:04:42 -0000	1.7
  @@ -81,6 +81,11 @@
       private Proxy _proxy = new Proxy();
       /** whether the default is for secure comms */
       private boolean _secure;
  +    /** the browser identifier */
  +    private String _userAgent;
  +    /** strict compliance */
  +    private boolean _strictMode = false;
  +    
       /** http client used to store state and execute requests */
       private HttpMultiClient _httpClient;
       
  @@ -237,4 +242,32 @@
           _secure = secure;
       }
   
  +    /** Getter for property userAgent.
  +     * @return Value of property userAgent.
  +     */
  +    public String getUserAgent() {
  +        return _userAgent;
  +    }
  +    
  +    /** Setter for property userAgent.
  +     * @param userAgent New value of property userAgent.
  +     */
  +    public void setUserAgent(String userAgent) {
  +        _userAgent = userAgent;
  +    }
  +    
  +    /** Getter for property strictMode.
  +     * @return Value of property strictMode.
  +     */
  +    public boolean isStrictMode() {
  +        return _strictMode;
  +    }
  +    
  +    /** Setter for property strictMode.
  +     * @param strictMode New value of property strictMode.
  +     */
  +    public void setStrictMode(boolean strictMode) {
  +        _strictMode = strictMode;
  +    }
  +    
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message