Annotation Interface WebServer
This annotation is used to mark classes that represent servers.
@WebServer("6900")
public class WebServer {
...
}
The above snipped declares a class and marks it as a webserver, meaning it contains methods for responding to https requests.
The port is specified in the parentheses and `8080` is the default port.-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Default:
"8080"
-