Changed Web Routing and added WebHash

This commit is contained in:
Finn
2026-01-19 14:23:53 +01:00
parent 45caed751e
commit 7a82a89968
11 changed files with 600 additions and 30 deletions

View File

@@ -0,0 +1,18 @@
package org.openautonomousconnection.webserver.api;
import java.lang.annotation.*;
/**
* 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();
}