directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1533726 - /directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/PATCH.java
Date Sat, 19 Oct 2013 10:40:59 GMT
Author: kayyagari
Date: Sat Oct 19 10:40:59 2013
New Revision: 1533726

URL: http://svn.apache.org/r1533726
Log:
custom annotation for PATCH method

Added:
    directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/PATCH.java

Added: directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/PATCH.java
URL: http://svn.apache.org/viewvc/directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/PATCH.java?rev=1533726&view=auto
==============================================================================
--- directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/PATCH.java
(added)
+++ directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/PATCH.java
Sat Oct 19 10:40:59 2013
@@ -0,0 +1,40 @@
+/*
+ *   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 org.apache.directory.scim.rest;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import javax.ws.rs.HttpMethod;
+
+/**
+ * Indicates that the annotated method responds to HTTP PATCH requests
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod("PATCH")
+public @interface PATCH 
+{ 
+    
+}
\ No newline at end of file



Mime
View raw message