@DefaultImplementation(value=NoOpHttpServerImpl.class) public interface HttpServer
Modifier and Type | Method and Description |
---|---|
void |
addHttpHandler(HttpHandler httpHandler)
Add a httpHandler to the server.
|
int |
getPort()
get port number of the server.
|
void |
start()
start the server.
|
void |
stop()
stop the server.
|
int getPort()
void addHttpHandler(HttpHandler httpHandler)
httpHandler
- Copyright © 2017 The Apache Software Foundation. All rights reserved.