Produced by Araxis Merge on Mon Mar 6 17:40:24 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.
| # | 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 |
| 3 | C:\Merge Test Files\4.1.24\catalina\src\share\org\apache\catalina\connector | HttpRequestBase.java | Wed Mar 19 09:18:38 2003 UTC |
| Note: Merge considers the second file to be the common ancestor of the others. | |||
| Description | Between Files 1 and 2 |
Between Files 2 and 3 |
Relative to Common Ancestor |
|||
|---|---|---|---|---|---|---|
| Text Blocks | Lines | Text Blocks | Lines | Text Blocks | Lines | |
| Unchanged | 9 | 1251 | 1 | 1318 | ||
| Changed | 2 | 9 | 0 | 0 | 2 | 9 |
| Inserted | 6 | 62 | 0 | 0 | 0 | 0 |
| Removed | 0 | 0 | 0 | 0 | 6 | 62 |
| Note: An automatic merge would leave 0 conflict(s). | ||||||
| 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 |
No regular expressions were active.
| 1 | /* | 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/
|
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
|
2 | * $Header : /home/cv s/jakarta- tomcat-4.0 /catalina/ src/share/ org/apache /catalina/ connector/ HttpReques tBase.java ,v 1.39 20 02/04/22 0 0:00:50 gl enn Exp $ | |||||
| 3 | * $Revision: 1.3 1.2.4 $ | 3 | * $Revision: 1.3 9 $ | 3 | * $Revisi on: 1.39 $ | |||||
| 4 |
*
$Date:
2002/04/
|
4 |
*
$Date:
2002/04/
22
0
0
|
4 | * $Date: 2002/04/22 00:00:50 $ | |||||
| 5 | * | 5 | * | 5 | * | |||||
| 6 | * ======= ========== ========== ========== ========== ========== ========== = | 6 | * ======= ========== ========== ========== ========== ========== ========== = | 6 | * ======= ========== ========== ========== ========== ========== ========== = | |||||
| 7 | * | 7 | * | 7 | * | |||||
| 8 | * The Apa che Softwa re License , Version 1.1 | 8 | * The Apa che Softwa re License , Version 1.1 | 8 | * The Apa che Softwa re License , Version 1.1 | |||||
| 9 | * | 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 | 10 | * Copyrig ht (c) 199 9 The Apac he Softwar e Foundati on. All r ights | |||||
| 11 | * reserve d. | 11 | * reserve d. | 11 | * reserve d. | |||||
| 12 | * | 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 | 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 | 14 | * modific ation, are permitted provided that the f ollowing c onditions | |||||
| 15 | * are met : | 15 | * are met : | 15 | * are met : | |||||
| 16 | * | 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 | 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. | 18 | * noti ce, this l ist of con ditions an d the foll owing disc laimer. | |||||
| 19 | * | 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 | 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 | 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 | 22 | * the documentat ion and/or other mat erials pro vided with the | |||||
| 23 | * dist ribution. | 23 | * dist ribution. | 23 | * dist ribution. | |||||
| 24 | * | 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 | 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: | 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 | 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/ )." | 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, | 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 . | 30 | * if a nd whereve r such thi rd-party a cknowlegem ents norma lly appear . | |||||
| 31 | * | 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 | 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 | 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 | 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 . | 35 | * perm ission, pl ease conta ct apache@ apache.org . | |||||
| 36 | * | 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" | 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 | 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. | 39 | * perm ission of the Apache Group. | |||||
| 40 | * | 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 | 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 | 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 | 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 | 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, | 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 | 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 | 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 | 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, | 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 | 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 | 51 | * OF THE USE OF THI S SOFTWARE , EVEN IF ADVISED OF THE POSSI BILITY OF | |||||
| 52 | * SUCH DA MAGE. | 52 | * SUCH DA MAGE. | 52 | * SUCH DA MAGE. | |||||
| 53 | * ======= ========== ========== ========== ========== ========== ========== = | 53 | * ======= ========== ========== ========== ========== ========== ========== = | 53 | * ======= ========== ========== ========== ========== ========== ========== = | |||||
| 54 | * | 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 | 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 | 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 | 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/>. | 58 | * <http:/ /www.apach e.org/>. | |||||
| 59 | * | 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] | 60 | * [Additi onal notic es, if req uired by p rior licen sing condi tions] | |||||
| 61 | * | 61 | * | 61 | * | |||||
| 62 | */ | 62 | */ | 62 | */ | |||||
| 63 | 63 | 63 | ||||||||
| 64 | 64 | 64 | ||||||||
| 65 | package or g.apache.c atalina.co nnector; | 65 | package or g.apache.c atalina.co nnector; | 65 | package or g.apache.c atalina.co nnector; | |||||
| 66 | 66 | 66 | ||||||||
| 67 | 67 | 67 | ||||||||
| 68 | import jav a.io.IOExc eption; | 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; | 69 | import jav a.io.Unsup portedEnco dingExcept ion; | |||||
| 70 | import jav a.security .AccessCon troller; | 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 ; | 71 | import jav a.security .Principal ; | |||||
| 72 | import jav a.security .Privilege dAction; | 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; | 73 | import jav a.text.Par seExceptio n; | |||||
| 74 | import jav a.text.Sim pleDateFor mat; | 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; | 75 | import jav a.util.Arr ayList; | |||||
| 76 | import jav a.util.Dat e; | 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; | 77 | import jav a.util.Enu meration; | |||||
| 78 | import jav a.util.Has hMap; | 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; | 79 | import jav a.util.Has htable; | |||||
| 80 | import jav a.util.Loc ale; | 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 ; | 81 | import jav a.util.Map ; | |||||
| 82 | import jav ax.servlet .RequestDi spatcher; | 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; | 83 | import jav ax.servlet .ServletRe quest; | |||||
| 84 | import jav ax.servlet .ServletIn putStream; | 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; | 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; | 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; | 87 | import jav ax.servlet .http.Http Session; | |||||
| 88 | import org .apache.ca talina.Glo bals; | 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; | 89 | import org .apache.ca talina.Htt pRequest; | |||||
| 90 | import org .apache.ca talina.Log ger; | 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.Man ager; | |||||
| 91 | import org .apache.ca talina.Rea lm; | 92 | 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.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.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.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.RequestU til; | |||||
| 96 | import org .apache.ca talina.uti l.StringPa rser; | 97 | import org .apache.ca talina.uti l.StringPa rser; | 97 | import org .apache.ca talina.uti l.StringPa rser; | |||||
| 97 | 98 | 98 | ||||||||
| 98 | 99 | 99 | ||||||||
| 99 | /** | 100 | /** | 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 | * 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 | * 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 | * 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 | * be impl emented. | |||||
| 104 | * | 105 | * | 105 | * | |||||
| 105 | * @author Craig R. McClanahan | 106 | * @author Craig R. McClanahan | 106 | * @author Craig R. McClanahan | |||||
| 106 |
*
@version
$Revision:
1.3
1.2.4
$
$Date:
2002/04/
|
107 |
*
@version
$Revision:
1.3
9
$
$Date:
2002/04/
22
0
0
|
107 | * @versio n $Revisio n: 1.39 $ $Date: 200 2/04/22 00 :00:50 $ | |||||
| 108 | * @deprec ated | 108 | * @deprec ated | |||||||
| 107 | */ | 109 | */ | 109 | */ | |||||
| 108 | 110 | 110 | ||||||||
| 109 | public cla ss HttpReq uestBase | 111 | public cla ss HttpReq uestBase | 111 | public cla ss HttpReq uestBase | |||||
| 110 | extend s RequestB ase | 112 | 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 { | 113 | implem ents HttpR equest, Ht tpServletR equest { | |||||
| 112 | 114 | 114 | ||||||||
| 113 | 115 | 115 | ||||||||
| 114 | protec ted class Privileged GetSession | 116 | protec ted class Privileged GetSession | 116 | protec ted class Privileged GetSession | |||||
| 115 | im plements P rivilegedA ction { | 117 | im plements P rivilegedA ction { | 117 | im plements P rivilegedA ction { | |||||
| 116 | 118 | 118 | ||||||||
| 117 | pr ivate bool ean create ; | 119 | pr ivate bool ean create ; | 119 | pr ivate bool ean create ; | |||||
| 118 | 120 | 120 | ||||||||
| 119 | Pr ivilegedGe tSession(b oolean cre ate) { | 121 | 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; | 122 | this.cre ate = crea te; | |||||
| 121 | } | 123 | } | 123 | } | |||||
| 122 | 124 | 124 | ||||||||
| 123 | pu blic Objec t run() { | 125 | pu blic Objec t run() { | 125 | pu blic Objec t run() { | |||||
| 124 | return d oGetSessio n(create); | 126 | return d oGetSessio n(create); | 126 | ||||||