package http.server;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/** Attach a Server method to a given (relative) Path. The signature
* of the method must be one of:
*
* - public HTTPResp method()
* - public HTTPResp method(HTTPReq)
*
* If no value is given (e.g., @Path()) then the method will
* become the default for unknown requests.
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface Path{
final String EMPTY = "";
String value() default "";
}