14. Araxis Merge File Comparison Report

Produced by Araxis Merge on Mon Mar 6 16:03:39 2006 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

14.1 Files compared

# Location File Last Modified
1 C:\Merge Test Files\4.0.6\catalina\src\share\org\apache\catalina\connector HttpRequestBase.java Tue Oct 8 15:15:34 2002 UTC
2 C:\Merge Test Files\4.1.18\catalina\src\share\org\apache\catalina\connector HttpRequestBase.java Thu Dec 19 13:49:44 2002 UTC

14.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 9 1251
Changed 2 9
Inserted 6 62
Removed 0 0

14.3 Comparison options

Whitespace All differences in whitespace within lines are ignored
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

14.4 Active regular expressions

No regular expressions were active.

14.5 Comparison detail

1   /*   1   /*
2     *   $Header:   /home/cvs/ jakarta-to mcat-4.0/c atalina/sr c/share/or g/apache/c atalina/co nnector/Ht tpRequestB ase.java,v   1.3 1.2.4   2002/04/
0 9   13 : 29 : 37   glenn   Exp   $
  2     *   $Header:   /home/cvs/ jakarta-to mcat-4.0/c atalina/sr c/share/or g/apache/c atalina/co nnector/Ht tpRequestB ase.java,v   1.3 9   2002/04/ 22   0 0
: 00 : 50   glenn   Exp   $
3     *   $Revision:   1.3 1.2.4   $   3     *   $Revision:   1.3 9   $
4     *   $Date:   2002/04/
0 9   13 : 29 : 37   $
  4     *   $Date:   2002/04/ 22   0 0
: 00 : 50   $
5    *   5    *
6    * ======= ========== ========== ========== ========== ========== ========== =   6    * ======= ========== ========== ========== ========== ========== ========== =
7    *   7    *
8    * The Apa che Softwa re License , Version  1.1   8    * The Apa che Softwa re License , Version  1.1
9    *   9    *
10    * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on.  All r ights   10    * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on.  All r ights
11    * reserve d.   11    * reserve d.
12    *   12    *
13    * Redistr ibution an d use in s ource and  binary for ms, with o r without   13    * Redistr ibution an d use in s ource and  binary for ms, with o r without
14    * modific ation, are  permitted  provided  that the f ollowing c onditions   14    * modific ation, are  permitted  provided  that the f ollowing c onditions
15    * are met :   15    * are met :
16    *   16    *
17    * 1. Redi stribution s of sourc e code mus t retain t he above c opyright   17    * 1. Redi stribution s of sourc e code mus t retain t he above c opyright
18    *    noti ce, this l ist of con ditions an d the foll owing disc laimer.   18    *    noti ce, this l ist of con ditions an d the foll owing disc laimer.
19    *   19    *
20    * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t   20    * 2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t
21    *    noti ce, this l ist of con ditions an d the foll owing disc laimer in   21    *    noti ce, this l ist of con ditions an d the foll owing disc laimer in
22    *    the  documentat ion and/or  other mat erials pro vided with  the   22    *    the  documentat ion and/or  other mat erials pro vided with  the
23    *    dist ribution.   23    *    dist ribution.
24    *   24    *
25    * 3. The  end-user d ocumentati on include d with the  redistrib ution, if   25    * 3. The  end-user d ocumentati on include d with the  redistrib ution, if
26    *    any,  must incl ude the fo llowing ac knowlegeme nt:   26    *    any,  must incl ude the fo llowing ac knowlegeme nt:
27    *       " This produ ct include s software  developed  by the   27    *       " This produ ct include s software  developed  by the
28    *         Apache Sof tware Foun dation (ht tp://www.a pache.org/ )."   28    *         Apache Sof tware Foun dation (ht tp://www.a pache.org/ )."
29    *    Alte rnately, t his acknow legement m ay appear  in the sof tware itse lf,   29    *    Alte rnately, t his acknow legement m ay appear  in the sof tware itse lf,
30    *    if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear .   30    *    if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear .
31    *   31    *
32    * 4. The  names "The  Jakarta P roject", " Tomcat", a nd "Apache  Software   32    * 4. The  names "The  Jakarta P roject", " Tomcat", a nd "Apache  Software
33    *    Foun dation" mu st not be  used to en dorse or p romote pro ducts deri ved   33    *    Foun dation" mu st not be  used to en dorse or p romote pro ducts deri ved
34    *    from  this soft ware witho ut prior w ritten per mission. F or written   34    *    from  this soft ware witho ut prior w ritten per mission. F or written
35    *    perm ission, pl ease conta ct apache@ apache.org .   35    *    perm ission, pl ease conta ct apache@ apache.org .
36    *   36    *
37    * 5. Prod ucts deriv ed from th is softwar e may not  be called  "Apache"   37    * 5. Prod ucts deriv ed from th is softwar e may not  be called  "Apache"
38    *    nor  may "Apach e" appear  in their n ames witho ut prior w ritten   38    *    nor  may "Apach e" appear  in their n ames witho ut prior w ritten
39    *    perm ission of  the Apache  Group.   39    *    perm ission of  the Apache  Group.
40    *   40    *
41    * THIS SO FTWARE IS  PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR  IMPLIED   41    * THIS SO FTWARE IS  PROVIDED ` `AS IS'' A ND ANY EXP RESSED OR  IMPLIED
42    * WARRANT IES, INCLU DING, BUT  NOT LIMITE D TO, THE  IMPLIED WA RRANTIES   42    * WARRANT IES, INCLU DING, BUT  NOT LIMITE D TO, THE  IMPLIED WA RRANTIES
43    * OF MERC HANTABILIT Y AND FITN ESS FOR A  PARTICULAR  PURPOSE A RE   43    * OF MERC HANTABILIT Y AND FITN ESS FOR A  PARTICULAR  PURPOSE A RE
44    * DISCLAI MED.  IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR   44    * DISCLAI MED.  IN N O EVENT SH ALL THE AP ACHE SOFTW ARE FOUNDA TION OR
45    * ITS CON TRIBUTORS  BE LIABLE  FOR ANY DI RECT, INDI RECT, INCI DENTAL,   45    * ITS CON TRIBUTORS  BE LIABLE  FOR ANY DI RECT, INDI RECT, INCI DENTAL,
46    * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL  DAMAGES (I NCLUDING,  BUT NOT   46    * SPECIAL , EXEMPLAR Y, OR CONS EQUENTIAL  DAMAGES (I NCLUDING,  BUT NOT
47    * LIMITED  TO, PROCU REMENT OF  SUBSTITUTE  GOODS OR  SERVICES;  LOSS OF   47    * LIMITED  TO, PROCU REMENT OF  SUBSTITUTE  GOODS OR  SERVICES;  LOSS OF
48    * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER  CAUSED AND   48    * USE, DA TA, OR PRO FITS; OR B USINESS IN TERRUPTION ) HOWEVER  CAUSED AND
49    * ON ANY  THEORY OF  LIABILITY,  WHETHER I N CONTRACT , STRICT L IABILITY,   49    * ON ANY  THEORY OF  LIABILITY,  WHETHER I N CONTRACT , STRICT L IABILITY,
50    * OR TORT  (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT   50    * OR TORT  (INCLUDIN G NEGLIGEN CE OR OTHE RWISE) ARI SING IN AN Y WAY OUT
51    * OF THE  USE OF THI S SOFTWARE , EVEN IF  ADVISED OF  THE POSSI BILITY OF   51    * OF THE  USE OF THI S SOFTWARE , EVEN IF  ADVISED OF  THE POSSI BILITY OF
52    * SUCH DA MAGE.   52    * SUCH DA MAGE.
53    * ======= ========== ========== ========== ========== ========== ========== =   53    * ======= ========== ========== ========== ========== ========== ========== =
54    *   54    *
55    * This so ftware con sists of v oluntary c ontributio ns made by  many   55    * This so ftware con sists of v oluntary c ontributio ns made by  many
56    * individ uals on be half of th e Apache S oftware Fo undation.   For more   56    * individ uals on be half of th e Apache S oftware Fo undation.   For more
57    * informa tion on th e Apache S oftware Fo undation,  please see   57    * informa tion on th e Apache S oftware Fo undation,  please see
58    * <http:/ /www.apach e.org/>.   58    * <http:/ /www.apach e.org/>.
59    *   59    *
60    * [Additi onal notic es, if req uired by p rior licen sing condi tions]   60    * [Additi onal notic es, if req uired by p rior licen sing condi tions]
61    *   61    *
62    */   62    */
63     63  
64     64  
65   package or g.apache.c atalina.co nnector;   65   package or g.apache.c atalina.co nnector;
66     66  
67     67  
68   import jav a.io.IOExc eption;   68   import jav a.io.IOExc eption;
69   import jav a.io.Unsup portedEnco dingExcept ion;   69   import jav a.io.Unsup portedEnco dingExcept ion;
70   import jav a.security .AccessCon troller;   70   import jav a.security .AccessCon troller;
71   import jav a.security .Principal ;   71   import jav a.security .Principal ;
72   import jav a.security .Privilege dAction;   72   import jav a.security .Privilege dAction;
73   import jav a.text.Par seExceptio n;   73   import jav a.text.Par seExceptio n;
74   import jav a.text.Sim pleDateFor mat;   74   import jav a.text.Sim pleDateFor mat;
75   import jav a.util.Arr ayList;   75   import jav a.util.Arr ayList;
76   import jav a.util.Dat e;   76   import jav a.util.Dat e;
77   import jav a.util.Enu meration;   77   import jav a.util.Enu meration;
78   import jav a.util.Has hMap;   78   import jav a.util.Has hMap;
79   import jav a.util.Has htable;   79   import jav a.util.Has htable;
80   import jav a.util.Loc ale;   80   import jav a.util.Loc ale;
81   import jav a.util.Map ;   81   import jav a.util.Map ;
82   import jav ax.servlet .RequestDi spatcher;   82   import jav ax.servlet .RequestDi spatcher;
83   import jav ax.servlet .ServletRe quest;   83   import jav ax.servlet .ServletRe quest;
84   import jav ax.servlet .ServletIn putStream;   84   import jav ax.servlet .ServletIn putStream;
85   import jav ax.servlet .http.Cook ie;   85   import jav ax.servlet .http.Cook ie;
86   import jav ax.servlet .http.Http ServletReq uest;   86   import jav ax.servlet .http.Http ServletReq uest;
87   import jav ax.servlet .http.Http Session;   87   import jav ax.servlet .http.Http Session;
88   import org .apache.ca talina.Glo bals;   88   import org .apache.ca talina.Glo bals;
89   import org .apache.ca talina.Htt pRequest;   89   import org .apache.ca talina.Htt pRequest;
    90   import org .apache.ca talina.Log ger;
90   import org .apache.ca talina.Man ager;   91   import org .apache.ca talina.Man ager;
91   import org .apache.ca talina.Rea lm;   92   import org .apache.ca talina.Rea lm;
92   import org .apache.ca talina.Ses sion;   93   import org .apache.ca talina.Ses sion;
93   import org .apache.ca talina.uti l.Enumerat or;   94   import org .apache.ca talina.uti l.Enumerat or;
94   import org .apache.ca talina.uti l.Paramete rMap;   95   import org .apache.ca talina.uti l.Paramete rMap;
95   import org .apache.ca talina.uti l.RequestU til;   96   import org .apache.ca talina.uti l.RequestU til;
96   import org .apache.ca talina.uti l.StringPa rser;   97   import org .apache.ca talina.uti l.StringPa rser;
97     98  
98     99  
99   /**   100   /**
100    * Conveni ence base  implementa tion of th e <b>HttpR equest</b>  interface , which   101    * Conveni ence base  implementa tion of th e <b>HttpR equest</b>  interface , which
101    * can be  used for t he Request  implement ation requ ired by mo st Connect ors that   102    * can be  used for t he Request  implement ation requ ired by mo st Connect ors that
102    * impleme nt the HTT P protocol .  Only th e connecto r-specific  methods n eed to   103    * impleme nt the HTT P protocol .  Only th e connecto r-specific  methods n eed to
103    * be impl emented.   104    * be impl emented.
104    *   105    *
105    * @author  Craig R.  McClanahan   106    * @author  Craig R.  McClanahan
106     *   @version   $Revision:   1.3 1.2.4   $   $Date:   2002/04/
0 9   13 : 29 : 37   $
  107     *   @version   $Revision:   1.3 9   $   $Date:   2002/04/ 22   0 0
: 00 : 50   $
    108    * @deprec ated
107    */   109    */
108     110  
109   public cla ss HttpReq uestBase   111   public cla ss HttpReq uestBase
110       extend s RequestB ase   112       extend s RequestB ase
111       implem ents HttpR equest, Ht tpServletR equest {   113       implem ents HttpR equest, Ht tpServletR equest {
112     114  
113     115  
114       protec ted class  Privileged GetSession   116       protec ted class  Privileged GetSession
115           im plements P rivilegedA ction {   117           im plements P rivilegedA ction {
116     118  
117           pr ivate bool ean create ;   119           pr ivate bool ean create ;
118     120  
119           Pr ivilegedGe tSession(b oolean cre ate) {   121           Pr ivilegedGe tSession(b oolean cre ate) {
120                this.cre ate = crea te;   122                this.cre ate = crea te;
121           }   123           }
122     124  
123           pu blic Objec t run() {   125           pu blic Objec t run() {
124                return d oGetSessio n(create);   126                return d oGetSessio n(create);
125           }   127           }
126     128  
127       }   129       }
128     130  
129     131  
130       // --- ---------- ---------- ---------- ---------- ----------  Instance  Variables   132       // --- ---------- ---------- ---------- ---------- ----------  Instance  Variables
131     133  
132     134  
133       /**   135       /**
134        * The  authentic ation type  used for  this reque st.   136        * The  authentic ation type  used for  this reque st.
135        */   137        */
136       protec ted String  authType  = null;   138       protec ted String  authType  = null;
137     139  
138     140  
139       /**   141       /**
140        * The  context p ath for th is request .   142        * The  context p ath for th is request .
141        */   143        */
142       protec ted String  contextPa th = "";   144       protec ted String  contextPa th = "";
143     145  
144     146  
145       /**   147       /**
146        * The  set of co okies asso ciated wit h this Req uest.   148        * The  set of co okies asso ciated wit h this Req uest.
147        */   149        */
148       protec ted ArrayL ist cookie s = new Ar rayList();   150       protec ted ArrayL ist cookie s = new Ar rayList();
149     151  
150     152  
151       /**   153       /**
152        * An  empty coll ection to  use for re turning em pty Enumer ations.  D o not   154        * An  empty coll ection to  use for re turning em pty Enumer ations.  D o not
153        * add  any eleme nts to thi s collecti on!   155        * add  any eleme nts to thi s collecti on!
154        */   156        */
(49 unchanged lines omitted)
204        * syn chronized.   206        * syn chronized.
205        */   207        */
206       protec ted Parame terMap par ameters =  null;   208       protec ted Parame terMap par ameters =  null;
207     209  
208     210  
209       /**   211       /**
210        * Hav e the para meters for  this requ est been p arsed yet?   212        * Hav e the para meters for  this requ est been p arsed yet?
211        */   213        */
212       protec ted boolea n parsed =  false;   214       protec ted boolea n parsed =  false;
213     215  
214     216  
215       /**   217       /**
216        * The  path info rmation fo r this req uest.   218        * The  path info rmation fo r this req uest.
217        */   219        */
218       protec ted String  pathInfo  = null;   220       protec ted String  pathInfo  = null;
219     221  
220     222  
221       /**   223       /**
222        * The  query str ing for th is request .   224        * The  query str ing for th is request .
223        */   225        */
224       protec ted String  queryStri ng = null;   226       protec ted String  queryStri ng = null;
225     227  
226     228  
227       /**   229       /**
228        * Was  the reque sted sessi on ID rece ived in a  cookie?   230        * Was  the reque sted sessi on ID rece ived in a  cookie?
229        */   231        */
230       protec ted boolea n requeste dSessionCo okie = fal se;   232       protec ted boolea n requeste dSessionCo okie = fal se;
231     233  
232     234  
233       /**   235       /**
234        * The  requested  session I D (if any)  for this  request.   236        * The  requested  session I D (if any)  for this  request.
235        */   237        */
236       protec ted String  requested SessionId  = null;   238       protec ted String  requested SessionId  = null;
237     239  
238     240  
239       /**   241       /**
240        * Was  the reque sted sessi on ID rece ived in a  URL?   242        * Was  the reque sted sessi on ID rece ived in a  URL?
241        */   243        */
242       protec ted boolea n requeste dSessionUR L = false;   244       protec ted boolea n requeste dSessionUR L = false;
243     245  
244     246  
245       /**   247       /**
246        * The  request U RI associa ted with t his reques t.   248        * The  request U RI associa ted with t his reques t.
247        */   249        */
248       protec ted String  requestUR I = null;   250       protec ted String  requestUR I = null;
249     251  
250     252  
251       /**   253       /**
    254        * The  decoded r equest URI  associate d with thi s request.
    255        */
    256       protec ted String  decodedRe questURI =  null;
    257  
    258  
    259       /**
252        * Was  this requ est receiv ed on a se cure chann el?   260        * Was  this requ est receiv ed on a se cure chann el?
253        */   261        */
254       protec ted boolea n secure =  false;   262       protec ted boolea n secure =  false;
255     263  
256     264  
257       /**   265       /**
258        * The  servlet p ath for th is request .   266        * The  servlet p ath for th is request .
259        */   267        */
260       protec ted String  servletPa th = null;   268       protec ted String  servletPa th = null;
261     269  
262     270  
263       /**   271       /**
264        * The  currently  active se ssion for  this reque st.   272        * The  currently  active se ssion for  this reque st.
265        */   273        */
266       protec ted Sessio n session  = null;   274       protec ted Sessio n session  = null;
267     275  
268     276  
269       /**   277       /**
270        * The  Principal  who has b een authen ticated fo r this Req uest.   278        * The  Principal  who has b een authen ticated fo r this Req uest.
271        */   279        */
272       protec ted Princi pal userPr incipal =  null;   280       protec ted Princi pal userPr incipal =  null;
273     281