Implemented an interceptor, that forbiddes access according to a header
[demos/spring-boot] / src / main / java / de / juplo / demo / RequestableByHumans.java
diff --git a/src/main/java/de/juplo/demo/RequestableByHumans.java b/src/main/java/de/juplo/demo/RequestableByHumans.java
new file mode 100644 (file)
index 0000000..d5f33c4
--- /dev/null
@@ -0,0 +1,14 @@
+package de.juplo.demo;
+
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface RequestableByHumans
+{
+}