Files
WebServer/src/main/java/org/openautonomousconnection/webserver/api/Route.java

22 lines
493 B
Java
Raw Normal View History

2026-01-19 14:23:53 +01:00
package org.openautonomousconnection.webserver.api;
2026-02-06 18:03:32 +01:00
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
2026-01-19 14:23:53 +01:00
/**
* Declares a route path for a server-side Java WebPage.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Route {
/**
* The absolute route path (must start with '/').
*
* @return route path
*/
String path();
}