Changed Web Routing and added WebHash
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user