|
| 1 | +License agreement |
| 2 | +================= |
| 3 | + |
| 4 | +Version 7.0, October 2024 |
| 5 | + |
| 6 | +This software distribution, including the "Restlet API", the "Restlet Engine" |
| 7 | +and the "Restlet Extensions", together defined as the "Restlet Framework" is |
| 8 | +provided to you under the Apache license version 2.0. |
| 9 | + |
| 10 | +Note that this agreement doesn't cover the redistributed third-party libraries. |
| 11 | +Those libraries are provided to you for convenience purpose but remain under |
| 12 | +their respective license. |
| 13 | + |
| 14 | +_______________________________________________________________________ |
| 15 | +Apache License, Version 2.0 |
| 16 | + |
| 17 | +Apache License |
| 18 | +Version 2.0, January 2004 |
| 19 | +http://www.apache.org/licenses/ |
| 20 | + |
| 21 | +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 22 | + |
| 23 | +1. Definitions. |
| 24 | + |
| 25 | +"License" shall mean the terms and conditions for use, reproduction, |
| 26 | +and distribution as defined by Sections 1 through 9 of this document. |
| 27 | + |
| 28 | +"Licensor" shall mean the copyright owner or entity authorized by the |
| 29 | +copyright owner that is granting the License. |
| 30 | + |
| 31 | +"Legal Entity" shall mean the union of the acting entity and all other |
| 32 | +entities that control, are controlled by, or are under common control |
| 33 | +with that entity. For the purposes of this definition, "control" means |
| 34 | +(i) the power, direct or indirect, to cause the direction or management |
| 35 | +of such entity, whether by contract or otherwise, or (ii) ownership of |
| 36 | +fifty percent (50%) or more of the outstanding shares, or (iii) |
| 37 | +beneficial ownership of such entity. |
| 38 | + |
| 39 | +"You" (or "Your") shall mean an individual or Legal Entity exercising |
| 40 | +permissions granted by this License. |
| 41 | + |
| 42 | +"Source" form shall mean the preferred form for making modifications, |
| 43 | +including but not limited to software source code, documentation source, |
| 44 | +and configuration files. |
| 45 | + |
| 46 | +"Object" form shall mean any form resulting from mechanical transformation |
| 47 | +or translation of a Source form, including but not limited to compiled |
| 48 | +object code, generated documentation, and conversions to other media types. |
| 49 | + |
| 50 | +"Work" shall mean the work of authorship, whether in Source or Object form, |
| 51 | +made available under the License, as indicated by a copyright notice that |
| 52 | +is included in or attached to the work (an example is provided in the |
| 53 | +Appendix below). |
| 54 | + |
| 55 | +"Derivative Works" shall mean any work, whether in Source or Object form, |
| 56 | +that is based on (or derived from) the Work and for which the editorial |
| 57 | +revisions, annotations, elaborations, or other modifications represent, |
| 58 | +as a whole, an original work of authorship. For the purposes of this License, |
| 59 | +Derivative Works shall not include works that remain separable from, or merely |
| 60 | +link (or bind by name) to the interfaces of, the Work and Derivative Works |
| 61 | +thereof. |
| 62 | + |
| 63 | +"Contribution" shall mean any work of authorship, including the original |
| 64 | +version of the Work and any modifications or additions to that Work or |
| 65 | +Derivative Works thereof, that is intentionally submitted to Licensor for |
| 66 | +inclusion in the Work by the copyright owner or by an individual or Legal |
| 67 | +Entity authorized to submit on behalf of the copyright owner. For the |
| 68 | +purposes of this definition, "submitted" means any form of electronic, verbal, |
| 69 | +or written communication sent to the Licensor or its representatives, including |
| 70 | +but not limited to communication on electronic mailing lists, source code control |
| 71 | +systems, and issue tracking systems that are managed by, or on behalf of, the |
| 72 | +Licensor for the purpose of discussing and improving the Work, but excluding |
| 73 | +communication that is conspicuously marked or otherwise designated in writing by |
| 74 | +the copyright owner as "Not a Contribution." |
| 75 | + |
| 76 | +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of |
| 77 | +whom a Contribution has been received by Licensor and subsequently incorporated |
| 78 | +within the Work. |
| 79 | + |
| 80 | +2. Grant of Copyright License. |
| 81 | + |
| 82 | +Subject to the terms and conditions of this License, each Contributor hereby grants |
| 83 | +to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 84 | +copyright license to reproduce, prepare Derivative Works of, publicly display, publicly |
| 85 | +perform, sublicense, and distribute the Work and such Derivative Works in Source or |
| 86 | +Object form. |
| 87 | + |
| 88 | +3. Grant of Patent License. |
| 89 | + |
| 90 | +Subject to the terms and conditions of this License, each Contributor hereby grants |
| 91 | +to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 92 | +(except as stated in this section) patent license to make, have made, use, offer to |
| 93 | +sell, sell, import, and otherwise transfer the Work, where such license applies only |
| 94 | +to those patent claims licensable by such Contributor that are necessarily infringed |
| 95 | +by their Contribution(s) alone or by combination of their Contribution(s) with the Work |
| 96 | +to which such Contribution(s) was submitted. If You institute patent litigation against |
| 97 | +any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the |
| 98 | +Work or a Contribution incorporated within the Work constitutes direct or contributory |
| 99 | +patent infringement, then any patent licenses granted to You under this License for |
| 100 | +that Work shall terminate as of the date such litigation is filed. |
| 101 | + |
| 102 | +4. Redistribution. |
| 103 | + |
| 104 | +You may reproduce and distribute copies of the Work or Derivative Works thereof in |
| 105 | +any medium, with or without modifications, and in Source or Object form, provided |
| 106 | +that You meet the following conditions: |
| 107 | + |
| 108 | + You must give any other recipients of the Work or Derivative Works a copy of |
| 109 | + this License; and |
| 110 | + You must cause any modified files to carry prominent notices stating that You |
| 111 | + changed the files; and |
| 112 | + You must retain, in the Source form of any Derivative Works that You distribute, |
| 113 | + all copyright, patent, trademark, and attribution notices from the Source form |
| 114 | + of the Work, excluding those notices that do not pertain to any part of the |
| 115 | + Derivative Works; and |
| 116 | + If the Work includes a "NOTICE" text file as part of its distribution, then |
| 117 | + any Derivative Works that You distribute must include a readable copy of the |
| 118 | + attribution notices contained within such NOTICE file, excluding those notices |
| 119 | + that do not pertain to any part of the Derivative Works, in at least one of the |
| 120 | + following places: within a NOTICE text file distributed as part of the Derivative |
| 121 | + Works; within the Source form or documentation, if provided along with the Derivative |
| 122 | + Works; or, within a display generated by the Derivative Works, if and wherever such |
| 123 | + third-party notices normally appear. The contents of the NOTICE file are for |
| 124 | + informational purposes only and do not modify the License. You may add Your own |
| 125 | + attribution notices within Derivative Works that You distribute, alongside or as |
| 126 | + an addendum to the NOTICE text from the Work, provided that such additional attribution |
| 127 | + notices cannot be construed as modifying the License. |
| 128 | + |
| 129 | +You may add Your own copyright statement to Your modifications and may provide |
| 130 | +additional or different license terms and conditions for use, reproduction, or |
| 131 | +distribution of Your modifications, or for any such Derivative Works as a whole, |
| 132 | +provided Your use, reproduction, and distribution of the Work otherwise complies |
| 133 | +with the conditions stated in this License. |
| 134 | + |
| 135 | +5. Submission of Contributions. |
| 136 | + |
| 137 | +Unless You explicitly state otherwise, any Contribution intentionally submitted |
| 138 | +for inclusion in the Work by You to the Licensor shall be under the terms and |
| 139 | +conditions of this License, without any additional terms or conditions. Notwithstanding |
| 140 | +the above, nothing herein shall supersede or modify the terms of any separate license |
| 141 | +agreement you may have executed with Licensor regarding such Contributions. |
| 142 | + |
| 143 | +6. Trademarks. |
| 144 | + |
| 145 | +This License does not grant permission to use the trade names, trademarks, service |
| 146 | +marks, or product names of the Licensor, except as required for reasonable and |
| 147 | +customary use in describing the origin of the Work and reproducing the content of |
| 148 | +the NOTICE file. |
| 149 | + |
| 150 | +7. Disclaimer of Warranty. |
| 151 | + |
| 152 | +Unless required by applicable law or agreed to in writing, Licensor provides the |
| 153 | +Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT |
| 154 | +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without |
| 155 | +limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, |
| 156 | +or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the |
| 157 | +appropriateness of using or redistributing the Work and assume any risks associated |
| 158 | +with Your exercise of permissions under this License. |
| 159 | + |
| 160 | +8. Limitation of Liability. |
| 161 | + |
| 162 | +In no event and under no legal theory, whether in tort (including negligence), |
| 163 | +contract, or otherwise, unless required by applicable law (such as deliberate |
| 164 | +and grossly negligent acts) or agreed to in writing, shall any Contributor be |
| 165 | +liable to You for damages, including any direct, indirect, special, incidental, |
| 166 | +or consequential damages of any character arising as a result of this License or |
| 167 | +out of the use or inability to use the Work (including but not limited to damages |
| 168 | +for loss of goodwill, work stoppage, computer failure or malfunction, or any and |
| 169 | +all other commercial damages or losses), even if such Contributor has been advised |
| 170 | +of the possibility of such damages. |
| 171 | + |
| 172 | +9. Accepting Warranty or Additional Liability. |
| 173 | + |
| 174 | +While redistributing the Work or Derivative Works thereof, You may choose to offer, |
| 175 | +and charge a fee for, acceptance of support, warranty, indemnity, or other liability |
| 176 | +obligations and/or rights consistent with this License. However, in accepting such |
| 177 | +obligations, You may act only on Your own behalf and on Your sole responsibility, |
| 178 | +not on behalf of any other Contributor, and only if You agree to indemnify, defend, |
| 179 | +and hold each Contributor harmless for any liability incurred by, or claims asserted |
| 180 | +against, such Contributor by reason of your accepting any such warranty or additional |
| 181 | +liability. |
0 commit comments