edu.neu.ccs.demeterf.http.server
Annotation Type Path
@Retention(value=RUNTIME)
public @interface Path
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)
- public HTTPResp method(HTTPReq, java.net.Socket)
If no value is given (e.g., @Path()) then the method will
become the default for unknown requests.
Optional Element Summary |
java.lang.String |
value
|
value
public abstract java.lang.String value
- Default:
- ""