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 HttpTag.java
Date Sun, 07 Jul 2002 11:17:47 GMT
dion        2002/07/07 04:17:47

  Modified:    latka/src/java/org/apache/commons/latka/jelly HttpTag.java
  Log:
  Renamed url to uri, as this terminology was all through the
  http 1.1 spec
  
  Revision  Changes    Path
  1.9       +16 -16    jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/HttpTag.java
  
  Index: HttpTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/HttpTag.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- HttpTag.java	6 Jul 2002 16:46:44 -0000	1.8
  +++ HttpTag.java	7 Jul 2002 11:17:47 -0000	1.9
  @@ -87,11 +87,11 @@
       private String _path;
       
       /**
  -     * The complete url to be processed
  +     * The complete uri to be processed
        * Either this property or the {@link #getPath() path} and the suite's host
        * must be provided.
        */
  -    private String _url;
  +    private String _uri;
       
       /** whether or not to follow redirects */ 
       private boolean _followRedirects = true;
  @@ -113,8 +113,8 @@
        * a combination of the host, port and path
        */
       public String getResolvedUrl() {
  -        if (getUrl() != null) {
  -            return getUrl();
  +        if (getUri() != null) {
  +            return getUri();
           } else {
               // build it from path, host and optionally port
               SuiteTag suiteTag = (SuiteTag) findAncestorWithClass(
  @@ -215,21 +215,21 @@
       }
       
       /**
  -     * Getter for property url.
  +     * Getter for property uri.
        *
  -     * @return Value of property url.
  +     * @return Value of property uri.
        */
  -    public String getUrl() {
  -        return _url;
  +    public String getUri() {
  +        return _uri;
       }
       
       /**
  -     * Setter for property url.
  +     * Setter for property uri.
        *
  -     * @param url New value of property url.
  +     * @param uri New value of property uri.
        */
  -    public void setUrl(String url) {
  -        _url = url;
  +    public void setUri(String uri) {
  +        _uri = uri;
       }
       
       /**
  
  
  

--
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