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();
}
