You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bl...@apache.org on 2010/03/22 19:18:36 UTC

svn commit: r926237 [1/2] - in /cxf/sandbox/geronimo-jaxrs_1.1_spec: ./ src/ src/main/ src/main/java/ src/main/java/javax/ src/main/java/javax/ws/ src/main/java/javax/ws/rs/ src/main/java/javax/ws/rs/core/ src/main/java/javax/ws/rs/ext/

Author: bluk
Date: Mon Mar 22 18:18:35 2010
New Revision: 926237

URL: http://svn.apache.org/viewvc?rev=926237&view=rev
Log:
Copy JAX-RS 1.1 spec project from 1.0 spec

Added:
    cxf/sandbox/geronimo-jaxrs_1.1_spec/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/LICENSE   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/NOTICE   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/pom.xml   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Consumes.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/CookieParam.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DELETE.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DefaultValue.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Encoded.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/FormParam.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/GET.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HEAD.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HeaderParam.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HttpMethod.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/MatrixParam.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/POST.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PUT.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Path.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PathParam.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Produces.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/QueryParam.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/WebApplicationException.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Application.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/CacheControl.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Context.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Cookie.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/EntityTag.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/GenericEntity.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/HttpHeaders.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/MediaType.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/MultivaluedMap.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/NewCookie.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/PathSegment.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Request.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Response.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/SecurityContext.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/StreamingOutput.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilder.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriBuilderException.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/UriInfo.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Variant.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/ContextResolver.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/ExceptionMapper.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/MessageBodyReader.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/MessageBodyWriter.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/Provider.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/Providers.java   (with props)
    cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java   (with props)

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/LICENSE
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/LICENSE?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/LICENSE (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/LICENSE Mon Mar 22 18:18:35 2010
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/LICENSE
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/NOTICE
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/NOTICE?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/NOTICE (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/NOTICE Mon Mar 22 18:18:35 2010
@@ -0,0 +1,5 @@
+Apache Geronimo JAX-RS 1.1 API
+Copyright 2010 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/NOTICE
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/pom.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/pom.xml?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/pom.xml (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/pom.xml Mon Mar 22 18:18:35 2010
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.genesis</groupId>
+        <artifactId>genesis-java5-flava</artifactId>
+        <version>2.0</version>
+    </parent>
+
+    <groupId>org.apache.geronimo.specs</groupId>
+    <artifactId>geronimo-jaxrs_1.1_spec</artifactId>
+    <packaging>jar</packaging>
+    <name>Apache Geronimo JAX-RS 1.1 API</name>
+    <version>1.0.0-alpha-SNAPSHOT</version>
+    <description>Java API for RESTful Web Services 1.1</description>
+
+    <url>http://geronimo.apache.org/maven/${siteId}/${version}</url>
+    <distributionManagement>
+        <site>
+            <id>apache-website</id>
+            <url>${site.deploy.url}/maven/${siteId}/${version}</url>
+        </site>
+    </distributionManagement>
+
+    <properties>
+        <siteId>specs/${artifactId}</siteId>
+    </properties>
+
+    <scm>
+        <connection>scm:svn:https://svn.apache.org/repos/asf/cxf/sandbox/geronimo-jaxrs_1.1_spec/</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/cxf/sandbox/geronimo-jaxrs_1.1_spec/</developerConnection>
+        <url>https://svn.apache.org/viewcvs.cgi/cxf/sandbox/geronimo-jaxrs_1.1_spec/</url>
+    </scm>
+
+</project>

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Consumes.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Consumes.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Consumes.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Consumes.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Inherited
+@Target(value = {ElementType.TYPE, ElementType.METHOD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface Consumes {
+
+    String[] value() default "*/*";
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Consumes.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/CookieParam.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/CookieParam.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/CookieParam.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/CookieParam.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface CookieParam {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/CookieParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DELETE.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DELETE.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DELETE.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DELETE.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = ElementType.METHOD)
+@Retention(value = RetentionPolicy.RUNTIME)
+@HttpMethod(value = "DELETE")
+public @interface DELETE {
+
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DELETE.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DefaultValue.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DefaultValue.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DefaultValue.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DefaultValue.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface DefaultValue {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/DefaultValue.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Encoded.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Encoded.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Encoded.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Encoded.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD,
+                 ElementType.CONSTRUCTOR, ElementType.TYPE})
+@Retention(value = RetentionPolicy.RUNTIME)
+@Documented
+public @interface Encoded {
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Encoded.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/FormParam.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/FormParam.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/FormParam.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/FormParam.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface FormParam {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/FormParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/GET.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/GET.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/GET.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/GET.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = ElementType.METHOD)
+@Retention(value = RetentionPolicy.RUNTIME)
+@HttpMethod(value = "GET")
+public @interface GET {
+
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/GET.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HEAD.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HEAD.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HEAD.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HEAD.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = ElementType.METHOD)
+@Retention(value = RetentionPolicy.RUNTIME)
+@HttpMethod(value = "HEAD")
+public @interface HEAD {
+
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HEAD.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HeaderParam.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HeaderParam.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HeaderParam.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HeaderParam.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+@Documented
+public @interface HeaderParam {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HeaderParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HttpMethod.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HttpMethod.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HttpMethod.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HttpMethod.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = ElementType.ANNOTATION_TYPE)
+@Retention(value = RetentionPolicy.RUNTIME)
+@Documented
+public @interface HttpMethod {
+    public static final String DELETE = "DELETE";
+    public static final String GET    = "GET";
+    public static final String HEAD   = "HEAD";
+    public static final String POST   = "POST";
+    public static final String PUT    = "PUT";
+
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/HttpMethod.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/MatrixParam.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/MatrixParam.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/MatrixParam.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/MatrixParam.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface MatrixParam {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/MatrixParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/POST.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/POST.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/POST.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/POST.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = ElementType.METHOD)
+@Retention(value = RetentionPolicy.RUNTIME)
+@HttpMethod(value = "POST")
+public @interface POST {
+
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/POST.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PUT.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PUT.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PUT.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PUT.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = ElementType.METHOD)
+@Retention(value = RetentionPolicy.RUNTIME)
+@HttpMethod(value = "PUT")
+public @interface PUT {
+
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PUT.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Path.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Path.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Path.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Path.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.TYPE, ElementType.METHOD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface Path {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Path.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PathParam.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PathParam.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PathParam.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PathParam.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface PathParam {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/PathParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Produces.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Produces.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Produces.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Produces.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Inherited
+@Target(value = {ElementType.TYPE, ElementType.METHOD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface Produces {
+    String[] value() default "*/*";
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/Produces.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/QueryParam.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/QueryParam.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/QueryParam.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/QueryParam.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+public @interface QueryParam {
+    String value();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/QueryParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/WebApplicationException.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/WebApplicationException.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/WebApplicationException.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/WebApplicationException.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs;
+
+import javax.ws.rs.core.Response;
+import javax.ws.rs.core.Response.Status;
+
+public class WebApplicationException extends RuntimeException {
+
+    private static final long serialVersionUID = -3660830303069517008L;
+
+    private final Response    response;
+
+    public WebApplicationException() {
+        this(Status.INTERNAL_SERVER_ERROR);
+    }
+
+    public WebApplicationException(int status) {
+        response = Response.status(status).build();
+    }
+
+    public WebApplicationException(Response.Status status) {
+        response = Response.status(status).build();
+    }
+
+    public WebApplicationException(Response response) {
+        this.response = response;
+    }
+
+    public WebApplicationException(Throwable cause) {
+        this(cause, Status.INTERNAL_SERVER_ERROR);
+    }
+
+    public WebApplicationException(Throwable cause, int status) {
+        super(cause);
+        response = Response.status(status).build();
+    }
+
+    public WebApplicationException(Throwable cause, Response.Status status) {
+        super(cause);
+        response = Response.status(status).build();
+    }
+
+    public WebApplicationException(Throwable cause, Response response) {
+        super(cause);
+        this.response = response;
+    }
+
+    public Response getResponse() {
+        return response;
+    }
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/WebApplicationException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Application.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Application.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Application.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Application.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import java.util.Collections;
+import java.util.Set;
+
+public abstract class Application {
+
+    // TODO: this may not be correct in JAX-RS 1.1
+    public abstract Set<Class<?>> getClasses();
+
+    public Set<Object> getSingletons() {
+        return Collections.emptySet();
+    }
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Application.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/CacheControl.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/CacheControl.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/CacheControl.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/CacheControl.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,226 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.ws.rs.ext.RuntimeDelegate;
+import javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate;
+
+public class CacheControl {
+
+    private int                 maxAge          = -1;
+    private int                 sMaxAge         = -1;
+    private boolean             isPrivate       = false;
+    private boolean             noCache         = false;
+    private boolean             noStore         = false;
+    private boolean             noTransform     = true;
+    private boolean             mustRevalidate  = false;
+    private boolean             proxyRevalidate = false;
+    private Map<String, String> cacheExtensions = null;
+    private List<String>        noCacheFields   = null;
+    private List<String>        privateFields   = null;
+
+    public CacheControl() {
+        /* do nothing */
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (obj == this) {
+            return true;
+        }
+
+        /*
+         * TODO: should the check be for instanceof or for getClass()? this
+         * class is not final so checking instanceof for now.
+         */
+        if (!(obj instanceof CacheControl)) {
+            return false;
+        }
+
+        CacheControl other = (CacheControl)obj;
+
+        if (isPrivate != other.isPrivate()) {
+            return false;
+        }
+
+        if (noCache != other.isNoCache()) {
+            return false;
+        }
+
+        if (noStore != other.isNoStore()) {
+            return false;
+        }
+
+        if (noTransform != other.isNoTransform()) {
+            return false;
+        }
+
+        if (mustRevalidate != other.isMustRevalidate()) {
+            return false;
+        }
+
+        if (proxyRevalidate != other.isProxyRevalidate()) {
+            return false;
+        }
+
+        if (maxAge != other.getMaxAge()) {
+            return false;
+        }
+
+        if (sMaxAge != other.getSMaxAge()) {
+            return false;
+        }
+
+        if (!getCacheExtension().equals(other.getCacheExtension())) {
+            return false;
+        }
+
+        if (!getPrivateFields().equals(other.getPrivateFields())) {
+            return false;
+        }
+
+        if (!getNoCacheFields().equals(other.getNoCacheFields())) {
+            return false;
+        }
+
+        return true;
+    }
+
+    @Override
+    public int hashCode() {
+        int result = 17;
+        result = 31 * result + maxAge;
+        result = 31 * result + sMaxAge;
+        result = 31 * result + ((isPrivate) ? 1 : 0);
+        result = 31 * result + ((noCache) ? 1 : 0);
+        result = 31 * result + ((noStore) ? 1 : 0);
+        result = 31 * result + ((noTransform) ? 1 : 0);
+        result = 31 * result + ((mustRevalidate) ? 1 : 0);
+        result = 31 * result + ((proxyRevalidate) ? 1 : 0);
+        result = 31 * result + getCacheExtension().hashCode();
+        result = 31 * result + getNoCacheFields().hashCode();
+        result = 31 * result + getPrivateFields().hashCode();
+        return result;
+    }
+
+    public Map<String, String> getCacheExtension() {
+        if (cacheExtensions == null) {
+            cacheExtensions = new HashMap<String, String>();
+        }
+        return cacheExtensions;
+    }
+
+    public int getMaxAge() {
+        return maxAge;
+    }
+
+    public List<String> getNoCacheFields() {
+        if (noCacheFields == null) {
+            noCacheFields = new ArrayList<String>();
+        }
+        return noCacheFields;
+    }
+
+    public List<String> getPrivateFields() {
+        if (privateFields == null) {
+            privateFields = new ArrayList<String>();
+        }
+        return privateFields;
+    }
+
+    public int getSMaxAge() {
+        return sMaxAge;
+    }
+
+    public boolean isMustRevalidate() {
+        return mustRevalidate;
+    }
+
+    public boolean isNoCache() {
+        return noCache;
+    }
+
+    public boolean isNoStore() {
+        return noStore;
+    }
+
+    public boolean isNoTransform() {
+        return noTransform;
+    }
+
+    public boolean isPrivate() {
+        return isPrivate;
+    }
+
+    public boolean isProxyRevalidate() {
+        return proxyRevalidate;
+    }
+
+    public void setMaxAge(int maxAge) {
+        this.maxAge = maxAge;
+    }
+
+    public void setMustRevalidate(boolean mustRevalidate) {
+        this.mustRevalidate = mustRevalidate;
+    }
+
+    public void setNoCache(boolean noCache) {
+        this.noCache = noCache;
+    }
+
+    public void setNoStore(boolean noStore) {
+        this.noStore = noStore;
+    }
+
+    public void setNoTransform(boolean noTransform) {
+        this.noTransform = noTransform;
+    }
+
+    public void setPrivate(boolean isPrivate) {
+        this.isPrivate = isPrivate;
+    }
+
+    public void setProxyRevalidate(boolean proxyRevalidate) {
+        this.proxyRevalidate = proxyRevalidate;
+    }
+
+    public void setSMaxAge(int sMaxAge) {
+        this.sMaxAge = sMaxAge;
+    }
+
+    private final static HeaderDelegate<CacheControl> headerDelegate =
+                                                                         RuntimeDelegate
+                                                                             .getInstance()
+                                                                             .createHeaderDelegate(CacheControl.class);
+
+    @Override
+    public String toString() {
+        return headerDelegate.toString(this);
+    }
+
+    public static CacheControl valueOf(String value) {
+        return headerDelegate.fromString(value);
+    }
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/CacheControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Context.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Context.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Context.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Context.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(value = {ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
+@Retention(value = RetentionPolicy.RUNTIME)
+@Documented
+public @interface Context {
+
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Context.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Cookie.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Cookie.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Cookie.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Cookie.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,155 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import javax.ws.rs.ext.RuntimeDelegate;
+import javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate;
+
+public class Cookie {
+
+    public static final int DEFAULT_VERSION = 1;
+
+    private final String    name;
+    private final String    value;
+    private final String    path;
+    private final String    domain;
+    private final int       version;
+
+    public Cookie(String name, String value) {
+        this(name, value, null, null);
+    }
+
+    public Cookie(String name, String value, String path, String domain) {
+        this(name, value, path, domain, DEFAULT_VERSION);
+    }
+
+    public Cookie(String name, String value, String path, String domain, int version) {
+        if (name == null) {
+            throw new IllegalArgumentException();
+        }
+        this.name = name;
+        this.value = value;
+        this.path = path;
+        this.domain = domain;
+        this.version = version;
+    }
+
+    @Override
+    public boolean equals(java.lang.Object obj) {
+        if (this == obj) {
+            return true;
+        }
+
+        if (obj == null) {
+            return false;
+        }
+
+        // note that this must be a Cookie exactly
+        if (getClass() != obj.getClass()) {
+            return false;
+        }
+
+        Cookie other = (Cookie)obj;
+        if (!name.equals(other.name)) {
+            return false;
+        }
+
+        if (version != other.version) {
+            return false;
+        }
+
+        if (value == null) {
+            if (other.value != null) {
+                return false;
+            }
+        } else {
+            if (!value.equals(other.value)) {
+                return false;
+            }
+        }
+
+        if (path == null) {
+            if (other.path != null) {
+                return false;
+            }
+        } else {
+            if (!path.equals(other.path)) {
+                return false;
+            }
+        }
+
+        if (domain == null) {
+            if (other.domain != null) {
+                return false;
+            }
+        } else {
+            if (!domain.equals(other.domain)) {
+                return false;
+            }
+        }
+
+        return true;
+    }
+
+    @Override
+    public int hashCode() {
+        int result = 17;
+        result = 31 * result + name.hashCode();
+        result = 31 * result + ((value == null) ? 0 : value.hashCode());
+        result = 31 * result + ((path == null) ? 0 : path.hashCode());
+        result = 31 * result + ((domain == null) ? 0 : domain.hashCode());
+        result = 31 * result + version;
+        return result;
+    }
+
+    public String getDomain() {
+        return domain;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public String getPath() {
+        return path;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public int getVersion() {
+        return version;
+    }
+
+    private static final HeaderDelegate<Cookie> headerDelegate =
+                                                                   RuntimeDelegate
+                                                                       .getInstance()
+                                                                       .createHeaderDelegate(Cookie.class);
+
+    @Override
+    public String toString() {
+        return headerDelegate.toString(this);
+    }
+
+    public static Cookie valueOf(String value) {
+        return headerDelegate.fromString(value);
+    }
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/Cookie.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/EntityTag.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/EntityTag.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/EntityTag.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/EntityTag.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import javax.ws.rs.ext.RuntimeDelegate;
+import javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate;
+
+public class EntityTag {
+    private final boolean isWeak;
+    private final String  value;
+
+    public EntityTag(String value) {
+        this(value, false);
+    }
+
+    public EntityTag(String value, boolean weak) {
+        if (value == null) {
+            throw new IllegalArgumentException();
+        }
+        this.value = value;
+        this.isWeak = weak;
+    }
+
+    @Override
+    public boolean equals(java.lang.Object obj) {
+        if (this == obj) {
+            return true;
+        }
+
+        if (!(obj instanceof EntityTag)) {
+            return false;
+        }
+
+        EntityTag other = (EntityTag)obj;
+        if (isWeak != other.isWeak()) {
+            return false;
+        }
+
+        if (!value.equals(other.getValue())) {
+            return false;
+        }
+
+        return true;
+    }
+
+    @Override
+    public int hashCode() {
+        int result = 17;
+        result = 31 * result + ((isWeak) ? 1 : 0);
+        result = 31 * result + ((value == null) ? 0 : value.hashCode());
+        return result;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public boolean isWeak() {
+        return isWeak;
+    }
+
+    private static final HeaderDelegate<EntityTag> headerDelegate =
+                                                                      RuntimeDelegate
+                                                                          .getInstance()
+                                                                          .createHeaderDelegate(EntityTag.class);
+
+    @Override
+    public String toString() {
+        return headerDelegate.toString(this);
+    }
+
+    public static EntityTag valueOf(String value) {
+        return headerDelegate.fromString(value);
+    }
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/EntityTag.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/GenericEntity.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/GenericEntity.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/GenericEntity.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/GenericEntity.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import java.lang.reflect.GenericArrayType;
+import java.lang.reflect.ParameterizedType;
+import java.lang.reflect.Type;
+
+public class GenericEntity<T> {
+    private final T    entity;
+    private final Type genericType;
+
+    protected GenericEntity(T entity) {
+        if (entity == null) {
+            throw new IllegalArgumentException();
+        }
+        this.entity = entity;
+
+        Type superclass = this.getClass().getGenericSuperclass();
+        this.genericType = ((ParameterizedType)superclass).getActualTypeArguments()[0];
+
+        // TODO: what if the user extends their GenericEntity superclass?
+    }
+
+    public GenericEntity(T entity, Type genericType) {
+        if (entity == null) {
+            throw new IllegalArgumentException();
+        }
+
+        if (genericType == null) {
+            throw new IllegalArgumentException();
+        }
+
+        checkCompatibility(entity.getClass(), genericType);
+        this.entity = entity;
+        this.genericType = genericType;
+    }
+
+    private void checkCompatibility(Class<?> rawType, Type genericType) {
+        if (genericType instanceof Class<?>) {
+            if (!((Class<?>)genericType).isAssignableFrom(rawType)) {
+                throw new IllegalArgumentException();
+            }
+        } else if (genericType instanceof ParameterizedType) {
+            checkCompatibility(rawType, ((ParameterizedType)genericType).getRawType());
+        } else if (genericType instanceof GenericArrayType) {
+            if (!rawType.isArray()) {
+                throw new IllegalArgumentException();
+            }
+            // check the array parameter
+            checkCompatibility(rawType.getComponentType(), ((GenericArrayType)genericType)
+                .getGenericComponentType());
+        }
+    }
+
+    public T getEntity() {
+        return entity;
+    }
+
+    public Class<?> getRawType() {
+        return entity.getClass();
+    }
+
+    public Type getType() {
+        return genericType;
+    }
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/GenericEntity.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/HttpHeaders.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/HttpHeaders.java?rev=926237&view=auto
==============================================================================
--- cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/HttpHeaders.java (added)
+++ cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/HttpHeaders.java Mon Mar 22 18:18:35 2010
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package javax.ws.rs.core;
+
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+
+public interface HttpHeaders {
+    public static final String ACCEPT              = "Accept";
+    public static final String ACCEPT_CHARSET      = "Accept-Charset";
+    public static final String ACCEPT_ENCODING     = "Accept-Encoding";
+    public static final String ACCEPT_LANGUAGE     = "Accept-Language";
+    public static final String AUTHORIZATION       = "Authorization";
+    public static final String CACHE_CONTROL       = "Cache-Control";
+    public static final String CONTENT_ENCODING    = "Content-Encoding";
+    public static final String CONTENT_LANGUAGE    = "Content-Language";
+    public static final String CONTENT_LENGTH      = "Content-Length";
+    public static final String CONTENT_LOCATION    = "Content-Location";
+    public static final String CONTENT_TYPE        = "Content-Type";
+    public static final String COOKIE              = "Cookie";
+    public static final String DATE                = "Date";
+    public static final String ETAG                = "ETag";
+    public static final String EXPIRES             = "Expires";
+    public static final String HOST                = "Host";
+    public static final String IF_MATCH            = "If-Match";
+    public static final String IF_MODIFIED_SINCE   = "If-Modified-Since";
+    public static final String IF_NONE_MATCH       = "If-None-Match";
+    public static final String IF_UNMODIFIED_SINCE = "If-Unmodified-Since";
+    public static final String LAST_MODIFIED       = "Last-Modified";
+    public static final String LOCATION            = "Location";
+    public static final String SET_COOKIE          = "Set-Cookie";
+    public static final String USER_AGENT          = "User-Agent";
+    public static final String VARY                = "Vary";
+    public static final String WWW_AUTHENTICATE    = "WWW-Authenticate";
+
+    public List<Locale> getAcceptableLanguages();
+
+    public List<MediaType> getAcceptableMediaTypes();
+
+    public Map<String, Cookie> getCookies();
+
+    public Locale getLanguage();
+
+    public MediaType getMediaType();
+
+    public List<String> getRequestHeader(String name);
+
+    public MultivaluedMap<String, String> getRequestHeaders();
+}

Propchange: cxf/sandbox/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/core/HttpHeaders.java
------------------------------------------------------------------------------
    svn:eol-style = native