Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 98396 invoked from network); 13 Feb 2010 04:42:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Feb 2010 04:42:15 -0000 Received: (qmail 95580 invoked by uid 500); 13 Feb 2010 04:42:15 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 95482 invoked by uid 500); 13 Feb 2010 04:42:15 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 95473 invoked by uid 99); 13 Feb 2010 04:42:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 04:42:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 04:42:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2564923889B9; Sat, 13 Feb 2010 04:41:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r909743 - in /cxf/sandbox/geronimo-jaxrs_1.0_spec: ./ src/ src/main/ src/main/java/ src/main/java/javax/ src/main/java/javax/ws/ src/main/java/javax/ws/rs/ Date: Sat, 13 Feb 2010 04:41:48 -0000 To: commits@cxf.apache.org From: bluk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100213044149.2564923889B9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bluk Date: Sat Feb 13 04:41:47 2010 New Revision: 909743 URL: http://svn.apache.org/viewvc?rev=909743&view=rev Log: Base JAX-RS annotations Modify pom with correct SVN information Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Consumes.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/CookieParam.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DELETE.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DefaultValue.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Encoded.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/FormParam.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/GET.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HEAD.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HeaderParam.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HttpMethod.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/MatrixParam.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/POST.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PUT.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Path.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PathParam.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Produces.java (with props) cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/QueryParam.java (with props) Modified: cxf/sandbox/geronimo-jaxrs_1.0_spec/pom.xml Modified: cxf/sandbox/geronimo-jaxrs_1.0_spec/pom.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/pom.xml?rev=909743&r1=909742&r2=909743&view=diff ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/pom.xml (original) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/pom.xml Sat Feb 13 04:41:47 2010 @@ -47,12 +47,10 @@ specs/${artifactId} - Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Consumes.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Consumes.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Consumes.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Consumes.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/Consumes.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/CookieParam.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/CookieParam.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/CookieParam.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/CookieParam.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/CookieParam.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DELETE.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DELETE.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DELETE.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DELETE.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/DELETE.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DefaultValue.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DefaultValue.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DefaultValue.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/DefaultValue.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/DefaultValue.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Encoded.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Encoded.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Encoded.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Encoded.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/Encoded.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/FormParam.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/FormParam.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/FormParam.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/FormParam.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/FormParam.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/GET.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/GET.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/GET.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/GET.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/GET.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HEAD.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HEAD.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HEAD.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HEAD.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/HEAD.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HeaderParam.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HeaderParam.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HeaderParam.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HeaderParam.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/HeaderParam.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HttpMethod.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HttpMethod.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HttpMethod.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/HttpMethod.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/HttpMethod.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/MatrixParam.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/MatrixParam.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/MatrixParam.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/MatrixParam.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/MatrixParam.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/POST.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/POST.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/POST.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/POST.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/POST.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PUT.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PUT.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PUT.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PUT.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/PUT.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Path.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Path.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Path.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Path.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/Path.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PathParam.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PathParam.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PathParam.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/PathParam.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/PathParam.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Produces.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Produces.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Produces.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/Produces.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/Produces.java ------------------------------------------------------------------------------ svn:eol-style = native Added: cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/QueryParam.java URL: http://svn.apache.org/viewvc/cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/QueryParam.java?rev=909743&view=auto ============================================================================== --- cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/QueryParam.java (added) +++ cxf/sandbox/geronimo-jaxrs_1.0_spec/src/main/java/javax/ws/rs/QueryParam.java Sat Feb 13 04:41:47 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.0_spec/src/main/java/javax/ws/rs/QueryParam.java ------------------------------------------------------------------------------ svn:eol-style = native