better EventListener stage 2

This commit is contained in:
Daniella / Tove 2022-07-06 13:30:24 +02:00
parent 0c43e416f5
commit 2e5df94396
6 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,13 @@
package de.tudbut.tryumph.events;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface PBody {
String value();
}

View file

@ -0,0 +1,13 @@
package de.tudbut.tryumph.events;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface PCookie {
String value();
}

View file

@ -0,0 +1,13 @@
package de.tudbut.tryumph.events;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface PData {
String value();
}

View file

@ -0,0 +1,13 @@
package de.tudbut.tryumph.events;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface PHeader {
String value();
}

View file

@ -0,0 +1,13 @@
package de.tudbut.tryumph.events;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface PPathFragment {
int value();
}

View file

@ -0,0 +1,13 @@
package de.tudbut.tryumph.events;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface PQuery {
String value();
}