Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

122418 gjames: RA-827 Supporting custom status codes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:05:56 +00:00
parent 84947ba6de
commit c03efd351c
19 changed files with 239 additions and 211 deletions

View File

@@ -2,6 +2,9 @@ package org.alfresco.rest.framework;
import static java.lang.annotation.ElementType.METHOD;
import org.alfresco.rest.framework.core.ResourceOperation;
import org.springframework.extensions.webscripts.Status;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -16,5 +19,6 @@ import java.lang.annotation.Target;
public @interface WebApiDescription {
String title();
String description() default "";
int successStatus() default ResourceOperation.UNSET_STATUS;
}